@narando/config
v0.36.0
Published
Read NODE_ENV dependent configuration files
Downloads
38
Readme
@narando/config
Environment dependent configuration loader.
Thanks to Romuald Bulyshko for his initial
implementation config.json
.
Getting Started
You need to have nodejs
and npm
installed.
$ npm install @narando/config
Usage
Loads configuration from process.env
, ./config.json
and
./config.NODE_ENV.json
.
import config from "@narando/config";
console.log(config); // Usable config object
Development
As this package is part of the toolkit monorepo, please refer to the top-level README to learn about hacking on this package.
Built With
- nconf - Config loader