0.1.1 • Published 7 years ago

object-fromtext v0.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

object-fromtext

NPM

Get object from text.

const fromText = require('object-fromtext');
// fromText(<text>, [property separator=\n], [key separator==])

fromText('f1=help\nf2=load');
// {f1: 'help', f2: 'load'}
fromText('f3=find;f4=output', ';');
// {f3: 'find', f4: 'output'}
fromText('f5:continue run;f6:next window', ';', ':');
// {f5: 'continue run', f6: 'next window'}
0.1.1

7 years ago

0.1.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago