1. ci-parallel-vars
Get CI environment variables for parallelizing builds
ci-parallel-vars
Package: ci-parallel-vars
Created by: jamiebuilds
Last modified: Tue, 12 Apr 2022 06:20:52 GMT
Version: 1.0.1
License: MIT
Downloads: 1,183,242
Repository: https://github.com/jamiebuilds/ci-parallel-vars

Install

npm install ci-parallel-vars
yarn add ci-parallel-vars

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.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code