JSPM

ci-parallel-vars

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 398530
  • Score
    100M100P100Q192504F
  • License MIT

Get CI environment variables for parallelizing builds

Package Exports

  • ci-parallel-vars

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ci-parallel-vars) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ci-parallel-vars

Get CI environment variables for parallelizing builds

Install

yarn add ci-parallel-vars

Usage

const ciParallelVars = require('ci-parallel-vars');

console.log(ciParallelVars); // { index: 3, total: 10 } || null

Supports

If you want to add support for another pair, please open a pull request and add them to index.js and to this list.

One of these pairs must both be defined as numbers or ci-parallel-vars will be null.