ci-info
npmv4.4.0TypeScriptGet 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| ci-infothis page | 0 | 5 | MIT | 7 months ago |
| @testing-library/react-native | 0 | 10 | MIT | 1 day ago |
| p-locate | 216.9M | 1 | MIT | 1 day ago |
| has-flag | 166.9M | 1 | MIT | 1 day ago |
| is-glob | 137.4M | 3 | MIT | 1 day ago |
| is-wsl | 117.6M | 4 | MIT | 1 day ago |
Dependencies
Declared by ci-info v4.4.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (5)
Used by
Popular packages that depend on ci-info.
This packages is a collection of utilities and helper functions
Delightful JavaScript Testing.
No description provided.
The Expo CLI
🚇 The JavaScript bundler for React Native.
Relationship graph
Dependencies (left) and dependents (right) of ci-info.
Frequently installed together
Expo Router is a file-based router for React Native and web applications.
The Expo SDK
TypeScript definitions for node
Stringify any JavaScript value.
Blazing fast and accurate glob matcher written in JavaScript, with no dependencies and full support for standard and extended Bash glob features, including braces, extglobs, POSIX brackets, and regular expressions.
the most correct and second fastest glob implementation in JavaScript
The semantic version parser used by npm.
Lightweight debugging utility for Node.js and the browser
Higher-level content negotiation
TypeScript definitions for ws
High performance middleware framework
TypeScript-first schema declaration and validation library with static type inference
Release history
4 releases in the last two years, typically about 87 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 4.4.0latest | 7 months ago | 29 KB | MIT |
| 4.3.1 | 11 months ago | 29 KB | MIT |
| 4.3.0 | 1 year ago | 29 KB | MIT |
| 4.2.0 | 1 year ago | 28 KB | MIT |
| 4.1.0 | 1 year ago | 28 KB | MIT |
| 4.0.0 | 2 years ago | 27 KB | MIT |
| 3.9.0 | 2 years ago | 25 KB | MIT |
| 3.8.0 | 3 years ago | 25 KB | MIT |
| 3.7.1 | 3 years ago | 25 KB | MIT |
| 3.7.0 | 3 years ago | 24 KB | MIT |
| 3.6.2 | 3 years ago | 24 KB | MIT |
| 3.6.1 | 3 years ago | 23 KB | MIT |
| 3.6.0 | 3 years ago | 23 KB | MIT |
| 3.5.0 | 3 years ago | 21 KB | MIT |
| 3.4.0 | 4 years ago | 21 KB | MIT |
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.
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.