introduction
transfer stream of LTSV parser
Usage
var ltsv2json = ltsv2json fs = ; var ltsv = stringify: true;fs;
you can also use parse() for parse LTSV format record into josn.
var ltsv = ;var record = 'host:127.0.0.1' 'ident:-';ltsv; // { host: '127.0.0.1, ident: '-' }
Option
var ltsv = option;
- {stringify: false}: emit json object (default)
- {stringify: true}: emit json string
License
MIT