# ci-env

> Environment variables exposed by CI tools

Latest version **1.17.0** (published 2021-10-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install ci-env
pnpm add ci-env
yarn add ci-env
bun add ci-env
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.17.0 |
| Published | 2021-10-25 |
| First published | 2017-07-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 17.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 40 |
| Author | siddharthkp |
| Maintainers | siddharthkp, kuldeepkeshwar |
| Keywords | ci, environment, variables, travis, circle |

## Links

- npm: https://www.npmjs.com/package/ci-env
- Repository: https://github.com/siddharthkp/ci-env
- Homepage: https://github.com/siddharthkp/ci-env#readme
- Issues: https://github.com/siddharthkp/ci-env/issues
- npm.io page: https://npm.io/package/ci-env

## Alternatives

- [replicas-cli](https://npm.io/package/replicas-cli.md) — 3.0K weekly downloads
- [env-contract](https://npm.io/package/env-contract.md) — 133 weekly downloads
- [@openveo/api](https://npm.io/package/@openveo/api.md) — 61 weekly downloads
- [@ryniaubenpm2/cumque-error-reiciendis](https://npm.io/package/@ryniaubenpm2/cumque-error-reiciendis.md) — 54 weekly downloads
- [ts-global-type-extra](https://npm.io/package/ts-global-type-extra.md) — 11 weekly downloads

## Recent versions

- 1.17.0 (latest) — 2021-10-25
- 1.16.0 — 2020-06-06
- 1.15.0 — 2020-05-14
- 1.14.0 — 2020-05-06
- 1.13.0 — 2020-05-02
- 1.12.0 — 2019-11-27
- 1.11.1 — 2019-11-04
- 1.11.0 — 2019-09-12
- 1.10.0 — 2019-08-14
- 1.9.0 — 2019-06-20
- 1.8.0 — 2019-04-25
- 1.7.0 — 2018-11-22
- 1.6.1 — 2018-05-23
- 1.6.0 — 2018-03-13
- 1.5.2 — 2017-11-10
- … 7 more at https://npm.io/package/ci-env/versions

## README

<p align="center">
  <br>
  <b>Environment variables exposed by CI tools</b>
  <br><br>
  <img src="https://travis-ci.org/siddharthkp/ci-env.svg?branch=master&maxAge=3600"/>
</p>

&nbsp;

Supports travis, circle, gitlab, wercker, drone, codeship, now(zeit), netlify, GitHub Actions, Buddy, Codefresh and Cloudflare Pages.

Kinda supports custom CI as well. [Specs here](https://github.com/siddharthkp/ci-env/blob/master/index.js#L68-L79)

&nbsp;

#### Installation

```
npm install ci-env
```

&nbsp;

#### Usage

```js
const { repo, sha, event, commit_message, pull_request_number, branch, ci } = require('ci-env')
```

&nbsp;

#### like it?

⭐️ this repo

&nbsp;

#### License

MIT © siddharthkp

---
_Source: https://npm.io/package/ci-env · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
