From 79b9b84300ba0204d2d4a3a01eda411f7986f305 Mon Sep 17 00:00:00 2001 From: Tommy Stanton Date: Thu, 16 Jan 2014 14:12:10 -0800 Subject: [PATCH] [doc] Add a Literal example to add() --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 02457c0..9fc2dd1 100644 --- a/README.md +++ b/README.md @@ -121,6 +121,7 @@ The top-level of `nconf` is an instance of the `nconf.Provider` abstracts this a Adds a new store with the specified `name` and `options`. If `options.type` is not set, then `name` will be used instead: ``` js + nconf.add('supplied', { type: 'literal', store: { 'some': 'config' }); nconf.add('user', { type: 'file', file: '/path/to/userconf.json' }); nconf.add('global', { type: 'file', file: '/path/to/globalconf.json' }); ```