Merge pull request #222 from katacarbix/patch-1
Fixed some issues with code escaping in README.md
This commit is contained in:
commit
011be49a5c
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