@tdb/web
Version:
Common condiguration for serving a web-site and testing web-based UI components.
43 lines (30 loc) • 386 B
Markdown
# 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
```js
cost env = require('std-env')
console.log(env)
/*
{
test: false,
dev: true,
production: false,
debug: false,
ci: false,
tty: true,
minimalCLI: false,
windows: false
}
*/
```
## License
MIT