| 1 |
Source: node-rc |
| 2 |
Section: javascript |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Javascript Maintainers <[email protected]> |
| 5 |
Uploaders: Jérémy Lal <[email protected]> |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
, dh-sequence-nodejs |
| 8 |
Standards-Version: 4.6.1 |
| 9 |
Vcs-Browser: https://salsa.debian.org/js-team/node-rc |
| 10 |
Vcs-Git: https://salsa.debian.org/js-team/node-rc.git |
| 11 |
Homepage: https://github.com/dominictarr/rc |
| 12 |
Testsuite: autopkgtest-pkg-nodejs |
| 13 |
Rules-Requires-Root: no |
| 14 |
|
| 15 |
Package: node-rc |
| 16 |
Architecture: all |
| 17 |
Depends: ${misc:Depends} |
| 18 |
, node-deep-extend |
| 19 |
, node-ini |
| 20 |
, node-minimist |
| 21 |
, node-strip-json-comments |
| 22 |
, nodejs |
| 23 |
Description: find, load, flatten json or ini application configuration |
| 24 |
This Node.js module finds and loads configuration files in the usual |
| 25 |
places, loads them, and flatten them in that order: |
| 26 |
- command line arguments (parsed by minimist) |
| 27 |
- environment variables prefixed with $appname_ |
| 28 |
- config file path given as `--config` argument |
| 29 |
- .${appname}rc in parents folders, in home, or /etc |
| 30 |
- .config/$appname or .config/$appname/config in home |
| 31 |
- /etc/$appname/config |
| 32 |
It is also possible to set a custom command-line options parser |
| 33 |
or a custom configuration file parser. |
| 34 |
. |
| 35 |
Node.js is an event-based server-side JavaScript engine |