Retractor

This commit is contained in:
Nathan van Ofwegen
2021-12-02 09:52:39 +01:00
parent 7c44b3e1a7
commit 2d7c7f8d0d
4 changed files with 10 additions and 7 deletions

5
src/utils/index.ts Normal file
View File

@@ -0,0 +1,5 @@
import * as fs from 'fs'
export const readFile = (file: string): any => {
fs.readFileSync(file, {encoding: "utf-8"}).split("\r\n");
}