Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/is-ci

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/is-ci

TypeScript definitions for is-ci

  • 3.0.4
  • ts4.5
  • ts4.6
  • ts4.7
  • ts4.8
  • ts4.9
  • ts5.0
  • ts5.1
  • ts5.2
  • ts5.3
  • ts5.4
  • ts5.5
  • ts5.6
  • ts5.7
  • ts5.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is @types/is-ci?

@types/is-ci is a TypeScript type definition package for the is-ci library, which is used to detect if a code is running in a Continuous Integration (CI) environment.

What are @types/is-ci's main functionalities?

Detect if running in CI

This feature allows you to check if your code is running in a CI environment. The isCI variable will be true if the code is running in a CI environment, and false otherwise.

const isCI = require('is-ci');

if (isCI) {
  console.log('Running in a CI environment');
} else {
  console.log('Not running in a CI environment');
}

List of CI environments

This feature provides additional information about the CI environment, such as whether it is a CI environment and the name of the CI service.

const isCI = require('is-ci');

console.log(isCI.isCI); // true or false
console.log(isCI.name); // Name of the CI environment, e.g., 'Travis CI'

Other packages similar to @types/is-ci

FAQs

Package last updated on 07 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc