npm.io
1.17.0 • Published 4 years ago

ci-env

Licence
MIT
Version
1.17.0
Deps
0
Size
17 kB
Vulns
0
Weekly
0
Stars
40


Environment variables exposed by CI tools

 

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

 

Installation

npm install ci-env

 

Usage

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

 

like it?

️ this repo

 

License

MIT siddharthkp

Keywords