1.0.0 • Published 10 years ago
feathers-config v1.0.0
JSON/YAML configs loader for feathers.js.
const config = require('feathers-config');
config.get('option');
config.get('nested.option');Installation
$ npm install --save feathers-configFeatures
- JS module as configs (module must return a plain object)
- JSON configs support
- YAML configs support (
js-yamlis used to load) - Config override - latter loaded file will have precedence upon key search
Notes
When add source as a filename without extension we'll try to load first .js, then .json and then .yaml (in that order).
Examples
- TODO
License
1.0.0
10 years ago