0.1.2 • Published 4 years ago

typescript-text-config v0.1.2

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago
user@bar:~$ npm i typescript-text-config --save

text-config-typescript

its typescript mini libary for parsing data config from text file

to use it :

first create text file

exemple create test.text

a = 5 b = 45

second import text-config-typescript package

javascript code

const textconfig = require('typescript-text-config');
let file = new textconfig.TextConfig('test.txt');
console.log(file.getItem('a'));
// output : 5

typescript code

import { TextConfig } from 'typescript-text-config';
let file = new TextConfig('test.txt');
console.log(file.getItem('a'));
// output : 5
0.1.2

4 years ago

0.1.0

4 years ago

0.1.1

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

1.0.0

4 years ago