pkg: fix readme.

This commit is contained in:
Christopher Jeffrey 2017-12-27 22:44:56 -08:00
parent 8040600326
commit e82b6c38fe
No known key found for this signature in database
GPG Key ID: 8962AB9DE6666BBD
1 changed files with 3 additions and 2 deletions

View File

@ -5,9 +5,10 @@ Config parser (used for bcoin).
## Usage
``` js
const bcfg = require('bcfg');
const Config = require('bcfg');
const config = bcfg('my-module', {
// Will consider ~/.my-module the prefix directory.
const config = new Config('my-module', {
alias: {
'n': 'network'
}