JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19228928
  • Score
    100M100P100Q215909F
  • License MIT

Detect if your code is running on a CI server

Package Exports

  • is-ci

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-ci) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

is-ci

Returns true if the current environment is a Continuous Integration server.

Please open an issue if your CI server isn't properly detected :)

Build status js-standard-style

Installation

npm install is-ci

Usage

var isCI = require('is-ci')

if (isCI) {
  console.log('The code is running on a CI server')
}

License

MIT