@rainder/config

1.0.0 • Public • Published

config autoreload

Basic autoreload wrapper for config module. Allows to change server configuration without restarting the app.

Usage example

const config = require('@rainder/config');

const CONFIG = config.init({
  PASSWORD: 'server.password',
  SSL: {
    ENABLE: 'server.ssl.enable',
  },
});

Readme

Keywords

Package Sidebar

Install

npm i @rainder/config

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

3.19 kB

Total Files

3

Last publish

Collaborators

  • rainder