ci-env

1.17.0 • Public • Published


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

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i ci-env

    Weekly Downloads

    155,044

    Version

    1.17.0

    License

    MIT

    Unpacked Size

    17.9 kB

    Total Files

    13

    Last publish

    Collaborators

    • siddharthkp
    • kuldeepkeshwar