Gathering detailed insights and metrics for @prisma/ci-info
Gathering detailed insights and metrics for @prisma/ci-info
Gathering detailed insights and metrics for @prisma/ci-info
Gathering detailed insights and metrics for @prisma/ci-info
Get details about the current Continuous Integration environment
npm install @prisma/ci-info
Typescript
Module System
Node Version
NPM Version
70.9
Supply Chain
99.3
Quality
75
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
235,751
Last Day
24
Last Week
94
Last Month
408
Last Year
3,525
MIT License
352 Stars
198 Commits
54 Forks
8 Watchers
1 Branches
31 Contributors
Updated on Jun 27, 2025
Minified
Minified + Gzipped
Latest Version
2.1.2
Package Id
@prisma/ci-info@2.1.2
Size
5.29 kB
NPM Version
6.13.6
Node Version
12.16.1
Published on
Jul 21, 2020
Cumulative downloads
Total Downloads
Last Day
0%
24
Compared to previous day
Last Week
235.7%
94
Compared to previous week
Last Month
-34.9%
408
Compared to previous month
Last Year
-11.3%
3,525
Compared to previous year
3
Get details about the current Continuous Integration environment.
Please open an issue if your CI server isn't properly detected :)
1npm install @prisma/ci-info --save
1var ci = require('ci-info') 2 3if (ci.isCI) { 4 console.log('The name of the CI server is:', ci.name) 5} else { 6 console.log('This program is not running on a CI server') 7}
Officially supported CI servers:
Name | Constant | isPR |
---|---|---|
AWS CodeBuild | ci.CODEBUILD | ???? |
AppVeyor | ci.APPVEYOR | ✅ |
Azure Pipelines | ci.AZURE_PIPELINES | ✅ |
Bamboo by Atlassian | ci.BAMBOO | ???? |
Bitbucket Pipelines | ci.BITBUCKET | ✅ |
Bitrise | ci.BITRISE | ✅ |
Buddy | ci.BUDDY | ✅ |
Buildkite | ci.BUILDKITE | ✅ |
CircleCI | ci.CIRCLE | ✅ |
Cirrus CI | ci.CIRRUS | ✅ |
Codeship | ci.CODESHIP | ???? |
Drone | ci.DRONE | ✅ |
dsari | ci.DSARI | ???? |
GitHub Actions | ci.GITHUB_ACTIONS | ✅ |
GitLab CI | ci.GITLAB | ???? |
GoCD | ci.GOCD | ???? |
Hudson | ci.HUDSON | ???? |
Jenkins CI | ci.JENKINS | ✅ |
Magnum CI | ci.MAGNUM | ???? |
Netlify CI | ci.NETLIFY | ✅ |
Zeit Now | ci.ZEIT_NOW | ✅ |
Nevercode | ci.NEVERCODE | ✅ |
Sail CI | ci.SAIL | ✅ |
Semaphore | ci.SEMAPHORE | ✅ |
Shippable | ci.SHIPPABLE | ✅ |
Solano CI | ci.SOLANO | ✅ |
Strider CD | ci.STRIDER | ???? |
TaskCluster | ci.TASKCLUSTER | ???? |
TeamCity by JetBrains | ci.TEAMCITY | ???? |
Travis CI | ci.TRAVIS | ✅ |
ci.name
Returns a string containing name of the CI server the code is running on.
If CI server is not detected, it returns null
.
Don't depend on the value of this string not to change for a specific
vendor. If you find your self writing ci.name === 'Travis CI'
, you
most likely want to use ci.TRAVIS
instead.
ci.isCI
Returns a boolean. Will be true
if the code is running on a CI server,
otherwise false
.
Some CI servers not listed here might still trigger the ci.isCI
boolean to be set to true
if they use certain vendor neutral
environment variables. In those cases ci.name
will be null
and no
vendor specific boolean will be set to true
.
ci.isPR
Returns a boolean if PR detection is supported for the current CI server. Will
be true
if a PR is being tested, otherwise false
. If PR detection is
not supported for the current CI server, the value will be null
.
ci.<VENDOR-CONSTANT>
A vendor specific boolean constant is exposed for each support CI
vendor. A constant will be true
if the code is determined to run on
the given CI server, otherwise false
.
Examples of vendor constants are ci.TRAVIS
or ci.APPVEYOR
. For a
complete list, see the support table above.
Deprecated vendor constants that will be removed in the next major release:
ci.TDDIUM
(Solano CI) This have been renamed ci.SOLANO
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
Found 2/30 approved changesets -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More