![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | package.json | 2 years ago | 1.4K | |
![]() | index.js | 40 years ago | 1.3K | |
![]() | index.d.ts | 40 years ago | 394 | |
![]() | README.md | 40 years ago | 646 | |
![]() | LICENCE | 40 years ago | 1.0K | |
![]() | CHANGELOG.md | 40 years ago | 271 |
Detect running environment of the current Node.js process.
Using Yarn:
yarn add std-env
Using npm:
npm i std-env
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
}
*/
MIT