0.1.1 • Published 6 years ago

object-fromtext v0.1.1

Weekly downloads
1
License
MIT
Repository
-
Last release
6 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

6 years ago

0.1.0

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago