pkg: fix readme.
This commit is contained in:
parent
8040600326
commit
e82b6c38fe
|
@ -5,9 +5,10 @@ Config parser (used for bcoin).
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
``` js
|
``` 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: {
|
alias: {
|
||||||
'n': 'network'
|
'n': 'network'
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue