Commit graph

40 commits

Author SHA1 Message Date
Matt Hamann
35088a3313 Added nconf.any method (#278)
* Added nconf.any method

Fixes #126
Implemented on the Provider class
Takes an array of keys, or a variable argument list
Supports both callback and non-callback invocations

* Use an explicit search base in file store test

Fixes #224
Test file was created under process.env.HOME, but test was searching in
the current working directory. If the cwd was not on the same drive as
the home directory, the test would fail.

* Added some API documentation to README for 'any'

* Tweak `.any` documentation
2017-10-21 16:42:24 -04:00
Matt Hamann
532ac9cc57 Support parsing simple values from env/argv strings (#273)
* simple parse, indexzero/nconf#72

* documentation for tryParse option

* Combine JSON parsing and simple parsing
2017-10-21 15:39:16 -04:00
Matt Hamann
552300a687 [doc] Document lowerCase option in .env(options) (#268)
- Add missing documentation about the lowerCase option
2017-08-15 23:58:13 -04:00
Charter Jacobson
d70b6a0335 Fixed some issues with code escaping 2016-05-14 14:55:23 -05:00
Mark Oberemk
de551d42ec Update README.md
Add basic documentation explaining the `nconf.required` method
2016-01-27 12:29:26 -05:00
AdrieanKhisbe
c242f777a6 [travis test] setup coveralls config + update README badges 2015-12-03 08:18:44 +01:00
indexzero
438a2c8ef5 [doc] Remove node@0.8.0 from travis. Drop nodeci because it is 503 atm`. 2015-09-21 17:11:52 -07:00
indexzero
9dbed2d2cd [doc minor] Update docs for secure information. 2015-09-20 00:34:44 -07:00
Jarrett Cruger
4c07028e40 Merge pull request #173 from NickHeiner/patch-2
Quick grammar fix
2015-09-17 18:49:48 -07:00
indexzero
372521b124 [doc] Add the badges!. 2015-07-29 17:16:12 -07:00
Nick Heiner
89dff39d55 Quick grammar fix 2015-07-09 14:07:35 -04:00
Christian Murphy
80ec01b91d replace optimist with yargs 2015-07-07 13:06:41 -07:00
Nick Heiner
6d86950914 Grammar nit 2015-01-20 13:41:46 -05:00
Charlie Robbins
2496f59994 Merge pull request #100 from tommystanton/doc_improve
Add some documentation about File and Literal
2014-11-26 01:07:03 -05:00
Charlie Robbins
d5bd26c0b6 Merge pull request #98 from joaoafrmartins/master
filter process.env by regexp
2014-11-26 01:06:11 -05:00
Mitchell McKenna
6301d7d9c6 Update Readme; multiple file() needs custom key
- Update the Readme with notes that when using multiple config files,
  the user must use a custom key as the first parameter in additional
  nconf.file() calls in order for config heirarchy/inheritance to work
  properly.

Fixes #97, Fixes #109, Fixes #110
2014-06-17 17:56:42 -07:00
Tommy Stanton
79b9b84300 [doc] Add a Literal example to add() 2014-01-16 14:15:35 -08:00
Tommy Stanton
3a7b788e35 [doc] The store for File is empty if non-existent 2014-01-16 14:05:05 -08:00
joaoafrmartins
120f5f0a4b added documentation 2014-01-10 00:26:07 +00:00
Ethan Winn
0f092ab5a4 Added docs for options hash to optimist.
I had to dig a bit to figure out how to get options working on argv,
thought I'd save others the time.
2012-08-07 01:52:29 -04:00
indexzero
30734301e7 [api test doc] Make options to Provider.prototype.file take more flexible options 2012-07-10 01:50:18 -04:00
indexzero
7515f66572 [fix] Ensure that all options are passed to Provider.prototype.add in Provider.prototype.file. Fixes #51
[doc] Update README.md and method documentation
[dist] Remove vim comments
2012-07-10 01:27:28 -04:00
Michael Hart
3c08fad1c9 Changed to as it's more accurate 2012-06-21 18:04:37 +10:00
Michael Hart
e15f787940 Updated README and allowed a simpley syntax 2012-06-21 17:18:22 +10:00
Michael Hart
92d4e9ea14 Added test and updated docs 2012-06-21 17:04:06 +10:00
Jonathan Stewmon
6353d028f7 api and doc change for flatiron/nconf#28 (.file may now take a string instead of an object)
Conflicts:

	lib/nconf/provider.js
2012-05-03 17:10:19 -07:00
indexzero
4643a14a5c [doc] Updated README and added CHANGELOG.md 2011-11-24 00:30:34 -05:00
indexzero
1aa2f1f315 [doc] Updated README.md 2011-11-24 00:29:31 -05:00
Maciej Małecki
07f8c3e558 [doc] Add Travis build status image 2011-11-18 22:29:32 +01:00
Joshua Holbrook
d8a30203ce [fix] filename --> file in a few file transport examples 2011-10-22 02:38:05 -04:00
indexzero
7ef9b11d33 [doc] Minor update to library title 2011-09-18 21:35:55 -04:00
indexzero
a0638805ce [doc] Updated usage.js and README.md for the next hierarchical syntax. 2011-09-18 21:34:45 -04:00
indexzero
2e47d027ce [doc] Updated README.md 2011-08-28 10:43:44 -04:00
indexzero
57f0742455 [doc] Update README.md for nconf-redis 2011-07-08 17:01:22 -04:00
indexzero
1b47f58343 Merge branch 'master' of https://github.com/AvianFlu/nconf 2011-05-23 16:54:54 -04:00
avian
bdf2fc8cd7 [fix] Fixed spelling error 2011-05-20 01:21:46 -07:00
indexzero
e26bbe25f2 [doc] Updated code samples for GitHub flavored markdown with Javascript 2011-05-19 23:12:56 -04:00
indexzero
ac888dc5a2 [dist] Version bump. 0.1.0 2011-04-02 05:13:34 -04:00
indexzero
0fd847cc33 [doc] Updates to README.md 2011-04-02 04:59:18 -04:00
indexzero
e4cca686de [doc] Added README.md 2011-03-31 01:22:01 -04:00