</>PackageGraphPackageGraph

ci-info

npmv4.4.0TypeScript

Get details about the current Continuous Integration environment

Safe to adopt

Yes — ci-info scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 223 days ago. 5 releases in the last 2 years.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • BMaintenance: grade B, Good.

    Last published 223 days ago. 5 releases in the last 2 years.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 29 KB installed.

  • ASupply chain: grade A, Excellent.

    No install scripts, 2 maintainers, and a contained dependency surface.

  • ALicense: grade A, Excellent.

    MIT — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding ci-info to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

29 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
node >=8
Module format
CommonJS only
TypeScript
Types included
Install scripts
None

Quick start

A usage example from the ci-info README.

var ci = require('ci-info')

if (ci.isCI) {
  console.log('The name of the CI server is:', ci.name)
} else {
  console.log('This program is not running on a CI server')
}

ci-info vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
ci-infothis page05MIT7 months ago
@testing-library/react-native010MIT1 day ago
p-locate216.9M1MIT1 day ago
has-flag166.9M1MIT1 day ago
is-glob137.4M3MIT1 day ago
is-wsl117.6M4MIT1 day ago

Dependencies

Declared by ci-info v4.4.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (5)

clear-module ^4.1.2husky ^9.1.7publint ^0.3.12standard ^17.1.2tape ^5.9.0

Used by

Popular packages that depend on ci-info.

Relationship graph

Dependencies (left) and dependents (right) of ci-info.

Frequently installed together

Release history

4 releases in the last two years, typically about 87 days apart.

Recent versions of ci-info
VersionPublishedSizeLicense
4.4.0latest7 months ago29 KBMIT
4.3.111 months ago29 KBMIT
4.3.01 year ago29 KBMIT
4.2.01 year ago28 KBMIT
4.1.01 year ago28 KBMIT
4.0.02 years ago27 KBMIT
3.9.02 years ago25 KBMIT
3.8.03 years ago25 KBMIT
3.7.13 years ago25 KBMIT
3.7.03 years ago24 KBMIT
3.6.23 years ago24 KBMIT
3.6.13 years ago23 KBMIT
3.6.03 years ago23 KBMIT
3.5.03 years ago21 KBMIT
3.4.04 years ago21 KBMIT

Overview

ci-info is an npm package that get details about the current Continuous Integration environment. It has 5 known dependents in the graph. The latest version is 4.4.0, released under the MIT license.

Who should use it

Teams working in the npm ecosystem who need get details about the current Continuous Integration environment and value a focused solution.

When not to use it

Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.

Pros

  • Ships TypeScript type definitions.
  • Clear open-source license (MIT).

Cons

  • No significant drawbacks detected from available metadata.

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Funding

Frequently asked questions

Should I use ci-info?

Yes — ci-info scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 223 days ago. 5 releases in the last 2 years.

How do I install ci-info?

Run `npm install ci-info` to add ci-info to your npm project.

What license is ci-info released under?

ci-info is distributed under the MIT license.

How popular is ci-info?

npm does not publish download counts. Within PackageGraph's crawl, 5 known packages depend on ci-info.

Is ci-info still maintained?

The most recent release of ci-info (v4.4.0) was published 7 months ago.

Does ci-info run install scripts?

No. ci-info does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.