[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#820515: find, load, flatten json or ini application configuration



Package: wnpp
Severity: normal

To: submit@bugs.debian.org
Subject: ITP: node-rc -- hardwired configuration loader

Package: wnpp
Severity: wishlist
Owner: Jérémy Lal <kapouer@melix.org>
X-Debbugs-CC: debian-devel@lists.debian.org

* Package name    : node-rc
  Version         : 1.1.6
  Upstream Author : Dominic Tarr <dominic.tarr@gmail.com> (dominictarr.com)
* URL             : https://github.com/dominictarr/rc#readme
* License         : MIT
  Programming Lang: JavaScript
  Description     : find, load, flatten json or ini application configuration

 This Node.js module finds and loads configuration files in the usual
 places, loads them, and flatten them in that order:
  - command line arguments (parsed by minimist)
  - environment variables prefixed with $appname_
  - config file path given as `--config` argument
  - .${appname}rc in parents folders, in home, or /etc
  - .config/$appname or .config/$appname/config in home
  - /etc/$appname/config
 It is also possible to set a custom command-line options parser
 or a custom configuration file parser.
 .
 Node.js is an event-based server-side JavaScript engine.


Reply to: