/ archiveofbelonging.org / back / node_modules / std-env /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[TXT]README.md39 years ago645 f12eb36 documentaiton updates [كارل مبارك]
[TXT]index.d.ts39 years ago394  
[   ]index.js39 years ago1.3K 
[   ]package.json2 years ago1.3K7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك]
README.md

std-env

npm npm

Detect running environment of the current Node.js process.

Installation

Using yarn:

yarn add std-env

Usin npm:

npm i std-env

Usage

const env = require('std-env')

console.log(env)

/*
{
  browser: false,
  test: false,
  dev: true,
  production: false,
  debug: false,
  ci: false,
  tty: true,
  minimalCLI: false,
  windows: false,
  darwin: true,
  linux: false
}
*/

License

MIT

Apache/2.4.38 (Debian) Server at www.karls.computer Port 80