Skip to content

sirlancelot/std-env

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Detect running environment of the current Node.js process

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%