1.0.1 • Published 7 years ago

bd-conf v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
7 years ago

bd conf

Build Status Coverage Status

a parser for bd conf

requirement

nodejs >= 4

setup

npm install --save bd-conf

usage

const BDConf = require('bd-conf');

const confText = `
#COMMENT

name: 1

[data]
name: data

`;

const conf = BDConf.parse(confText);

try {
    BDConf.parse('this will throw');
}
catch (error) {

}
1.0.1

7 years ago

1.0.0

8 years ago