Fixed some issues with code escaping
This commit is contained in:
parent
3d4e589578
commit
d70b6a0335
1 changed files with 3 additions and 3 deletions
|
@ -149,12 +149,12 @@ Removes the store with the specified `name.` The configuration stored at that le
|
||||||
|
|
||||||
``` js
|
``` js
|
||||||
nconf.remove('file');
|
nconf.remove('file');
|
||||||
```y
|
```
|
||||||
|
|
||||||
### nconf.required(keys)
|
### nconf.required(keys)
|
||||||
Declares a set of string keys to be mandatory, and throw an error if any are missing.
|
Declares a set of string keys to be mandatory, and throw an error if any are missing.
|
||||||
|
|
||||||
```js
|
``` js
|
||||||
nconf.defaults({
|
nconf.defaults({
|
||||||
keya: 'a',
|
keya: 'a',
|
||||||
});
|
});
|
||||||
|
@ -293,7 +293,7 @@ Once installing both `nconf` and `nconf-redis`, you must require both modules to
|
||||||
```
|
```
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
```
|
``` bash
|
||||||
npm install nconf --save
|
npm install nconf --save
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue