UNPKG

typescript-text-config

Version:

a typescript libary for get enviroment data from text file

9 lines (5 loc) 203 B
import { TextConfig } from '../build/index'; const file = new TextConfig(__dirname + '/text.txt'); console.log(file.getItem("name")); console.log(file.getItem("git")); console.log(file.getRAWDATA());