This package has been deprecated

Author message:

Project is deprecated and it is no longer maintained

kettil-env

1.0.0 • Public • Published

kettil-env

Description

The module defines the variables NODE_ENV and NODE_CONFIG_DIR.

NODE_ENV

The modules defines the NODE_ENV variable, if it is not defined. If the (empty) file ".production" exists in the project directory, then the variable is defined as "production", otherwise with "development".

It is recommended that the file ".production" add to .gitignore.

NODE_CONFIG_DIR

The modules defines the NODE_CONFIG_DIR variable, if it is not defined. The variable is defined with the path to the config folder in the project directory.

The variable is read by the module config.

Install

$ npm install kettil-env

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Published

Version History

  • Version
    Downloads (Last 7 Days)
    • Published

Package Sidebar

Install

npm i kettil-env

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • kettil