![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | README.md | 39 years ago | 645 | f12eb36 documentaiton updates [كارل مبارك] |
![]() | index.d.ts | 39 years ago | 394 | |
![]() | index.js | 39 years ago | 1.3K | |
![]() | package.json | 2 years ago | 1.3K | 7375cab EXHIBTION: fix overflow ellipsis cutoff [كارل مبارك] |
Detect running environment of the current Node.js process.
Using yarn:
yarn add std-env
Usin 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