Skip to content

Latest commit

 

History

History
41 lines (29 loc) · 369 Bytes

README.md

File metadata and controls

41 lines (29 loc) · 369 Bytes

STD-ENV

Detect running environment of the current Node.js process.

Installation

Using yarn:

yarn add std-env

Usin npm:

npm i std-env

Usage

cost env = require('std-env')

console.log(env)

/*
{
  test: false,
  dev: false,
  production: false,
  debug: false,
  ci: false,
  tty: true,
  minimalCLI: false
}
*/

License

MIT