/ live.thehmm.nl / back / node_modules / std-env /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]dist/2 years ago -  
[   ]LICENCE39 years ago1.1K 
[TXT]README.md39 years ago1.0Kd7c1522 post receive test [كارل مبارك]
[   ]package.json2 years ago2.0K 
README.md

std-env

npm npm bundlephobia

Detect current Javascript environment

Installation

# Using Yarn
yarn add std-env

# Using npm
npm i std-env

Usage

// ESM
import { isWindows } from 'std-env'

// CommonJS
const { isCI } = require('std-env')

Available exports:

You can read more about how each flag works from ./src/index.ts.

List of well known providers can be found from ./src/providers.ts.

License

MIT

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