read-boost-config
Read boost config file in js
read-boost-config
Read boost config file in js
Note: read-boost-config
is only supported on iojs and node v4+. To use with
an older version of node, please use read-boost-config@1
.
Install
$ npm install [--save] [-g] read-boost-config
Test
$ npm test
Coverage
$ npm test -- --cov
API
// parse a stringvar str = 'name=evan\n'console// => { name: 'evan' } // parse a fileread// => { name: 'evan', foo: 'bar' } // parse file asyncread
CLI Tool
$ echo 'name=evan\n' | read-boost-config --json// =>
Author
Evan Lucas
License
MIT (See LICENSE
for more info)