{"id":13472263,"url":"https://github.com/watson/is-ci","last_synced_at":"2025-10-24T06:07:44.387Z","repository":{"id":1687334,"uuid":"43850849","full_name":"watson/is-ci","owner":"watson","description":"Detect if the current environment is a CI server","archived":false,"fork":false,"pushed_at":"2024-12-08T08:22:17.000Z","size":57,"stargazers_count":390,"open_issues_count":0,"forks_count":17,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-22T00:02:43.621Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/watson.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-10-07T23:37:23.000Z","updated_at":"2025-02-24T23:22:51.000Z","dependencies_parsed_at":"2025-04-14T01:05:05.217Z","dependency_job_id":"e09809f5-6cdd-451e-b9fc-c42e46698879","html_url":"https://github.com/watson/is-ci","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fis-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fis-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fis-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/watson%2Fis-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/watson","download_url":"https://codeload.github.com/watson/is-ci/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251240627,"owners_count":21557731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T16:00:53.387Z","updated_at":"2025-10-24T06:07:39.343Z","avatar_url":"https://github.com/watson.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Repository","Packages"],"sub_categories":["Check/Detect"],"readme":"# is-ci\n\nReturns `true` if the current environment is a Continuous Integration\nserver.\n\nPlease [open an issue](https://github.com/watson/is-ci/issues) if your\nCI server isn't properly detected :)\n\n[![npm](https://img.shields.io/npm/v/is-ci.svg)](https://www.npmjs.com/package/is-ci)\n[![Tests](https://github.com/watson/is-ci/workflows/Tests/badge.svg)](https://github.com/watson/is-ci/actions)\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard)\n\n## Installation\n\n```bash\nnpm install is-ci --save\n```\n\n## Programmatic Usage\n\n```js\nconst isCI = require('is-ci')\n\nif (isCI) {\n  console.log('The code is running on a CI server')\n}\n```\n\n## CLI Usage\n\nFor CLI usage you need to have the `is-ci` executable in your `PATH`.\nThere's a few ways to do that:\n\n- Either install the module globally using `npm install is-ci -g`\n- Or add the module as a dependency to your app in which case it can be\n  used inside your package.json scripts as is\n- Or provide the full path to the executable, e.g.\n  `./node_modules/.bin/is-ci`\n\n```bash\nis-ci \u0026\u0026 echo \"This is a CI server\"\n```\n\n## Supported CI tools\n\nRefer to [ci-info](https://github.com/watson/ci-info#supported-ci-tools) docs for all supported CI's\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson%2Fis-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwatson%2Fis-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwatson%2Fis-ci/lists"}