@narando/config
TypeScript icon, indicating that this package has built-in type declarations

0.36.0 • Public • Published

@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

Readme

Keywords

Package Sidebar

Install

npm i @narando/config

Weekly Downloads

0

Version

0.36.0

License

MIT

Unpacked Size

6.08 kB

Total Files

6

Last publish

Collaborators

  • narandosystem
  • marcmogdanz
  • apricote
  • brandolpho