{"_id":"ci-parallel-vars","_rev":"2-a62836df3648eef7243ccf788d51fb64","name":"ci-parallel-vars","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"ci-parallel-vars","version":"1.0.0","description":"Get CI environment variables for parallelizing builds","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jamiebuilds/ci-parallel-vars.git"},"author":{"name":"Jamie Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["ci","env","vars","index","total","parallel","builds","tests","travis","circle","buildkite","bitbucket","pipelines","knapsack"],"files":["index.js"],"scripts":{"test":"ava"},"devDependencies":{"ava":"^0.25.0","flow-bin":"^0.73.0","spawndamnit":"^2.0.0"},"gitHead":"81919d104739b47e0790fa911fd888cd30bab879","bugs":{"url":"https://github.com/jamiebuilds/ci-parallel-vars/issues"},"homepage":"https://github.com/jamiebuilds/ci-parallel-vars#readme","_id":"ci-parallel-vars@1.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.9.4","_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"dist":{"integrity":"sha512-u6dx20FBXm+apMi+5x7UVm6EH7BL1gc4XrcnQewjcB7HWRcor/V5qWc3RG2HwpgDJ26gIi2DSEu3B7sXynAw/g==","shasum":"af97729ed1c7381911ca37bcea263d62638701b3","tarball":"https://registry.npmjs.org/ci-parallel-vars/-/ci-parallel-vars-1.0.0.tgz","fileCount":4,"unpackedSize":3849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCGywCRA9TVsSAnZWagAARDIP/0ceoFGGPAi1YMwezOBo\nbkZO9zQ22d3aOQgs3+kU2CRSbnDekzwI5uHbtGqOQe2qS4k7nN1XVlKXY1QF\n4qhdsfQiuNDMBLMX/jtdD7shZ8WaNP3agua2gIs3KIMrgg5VjE554u9KoOPX\noDDkMU3pdNVWMVsIRtLLW2hKDyAwdjxcFOpH6HE+j1Z/MyiYKPNGwC8jh+pI\nj2SWVGgXkdvkuer4ZTPC/Cw02D1+KjQlcEDokuJXu10JUpAJ54rGfmk99S/L\nExFaqRFFqJ5o7Hkv/pDwmz8KjcVLoRfDJ8iDQmqdhpgqTKMrEXZKe6YEgCK1\nWcs6JpjJuH5J+5Zl9dbOGnvllbS5auoZYlg5RgxhxMF9+4cPi0QZ0D7IPsEW\n2LEA4GD19iTQD3Mwq9c2j/bq2iiTsqRrOn9uuKfocjL1oV7Rch/r7WJb4VBk\nOg7wORhlng3i2TLxduzKgHSGGLcoJasuP/eXGzxIWDGs5vQUvreC8kUSFP1F\nMyvUvzn+c4B3jR+aeV797W11mqLMJ+BYOLDsbBrg5NafoaSMLJRORS6IEYFe\nYtvkY1eVfDVwsaoFjvUH1brtvI5WckgE/I/S+174HaF2Z+ccIapuQrys4CHj\n0j+KvWc0nJmh+/UqRdTwaOSa6/nZRyCvh/OvK8ZdQKBod33eB6GLc3bUWv4D\ns25g\r\n=tWWA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHaHZZzSll8U49CFSZqHwwpH7MexnjxmEXV5/a7ZGh9pAiEA4Nvv9slNc+r0jxQfdfdawrC9gfd4HOdsVGdxOb9hXqY="}]},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ci-parallel-vars_1.0.0_1527278767120_0.9070975156474799"},"_hasShrinkwrap":false},"1.0.1":{"name":"ci-parallel-vars","version":"1.0.1","description":"Get CI environment variables for parallelizing builds","main":"index.js","repository":{"type":"git","url":"git+https://github.com/jamiebuilds/ci-parallel-vars.git"},"author":{"name":"Jamie Kyle","email":"me@thejameskyle.com"},"license":"MIT","keywords":["ci","env","vars","index","total","parallel","builds","tests","travis","circle","buildkite","bitbucket","pipelines","knapsack"],"scripts":{"test":"ava"},"devDependencies":{"ava":"^0.25.0","flow-bin":"^0.73.0","spawndamnit":"^2.0.0"},"gitHead":"994940e4882bdddf046a5c076b49d700449e4b38","bugs":{"url":"https://github.com/jamiebuilds/ci-parallel-vars/issues"},"homepage":"https://github.com/jamiebuilds/ci-parallel-vars#readme","_id":"ci-parallel-vars@1.0.1","_nodeVersion":"14.0.0","_npmVersion":"6.14.4","dist":{"integrity":"sha512-uvzpYrpmidaoxvIQHM+rKSrigjOe9feHYbw4uOI2gdfe1C3xIlxO+kVXq83WQWNniTf8bAxVpy+cQeFQsMERKg==","shasum":"e87ff0625ccf9d286985b29b4ada8485ca9ffbc2","tarball":"https://registry.npmjs.org/ci-parallel-vars/-/ci-parallel-vars-1.0.1.tgz","fileCount":4,"unpackedSize":4266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe68W5CRA9TVsSAnZWagAAsQEP/1YKzniw3NYFVkDGj/GE\nq3chp7bQu/JKb8l2UqympaPxT3f2y7mrHS4yoBZcuTu9tqY0SDBX1dQp8+LS\nbztquc745r9ueKfbT7nFV4tV6yeKQzrhmKslBtt0i4EGujLzmokaCFflSSnO\nP71iHbNY7DI82Zdtqb9aLQPv7xZAxnOk6dWTSQ2KbPBR3t7RvYz/QoOixYcH\nO4MaVBx8hBV4ONZ+KkIXbMYFWJll8LR9rE+pdah7ifquTj2kF/x0c9CMoEpA\nL5o8X9qgVvUGLRoy1cAWTpQDUn4uXpHu+SJ0VxO44PvSoCG8qrEsBLf1V4Kv\n4VizShzeDpl1a38hm53LdDINlv5vlfLiQ8Y0/yWekZmbcaGtUGb4b/SP9Xfp\npmSXDWIVKO5FOOvGEmtOoeTVTKqtfWeYFSlJkMy20Xnm3UYCFAL+vu/bJx3j\nkf2KE4IABN5hJYLVWPt4g2+zIhsOQn5hFKtUDT6yT3hDBK7Hzb+0uKrepWFU\n88wQdMz2CI0QykRvAd62RCsGBrkXJMMWA7ucODG2hBe7uYkct/R9AI5jS3AJ\n6qd9GV6/88Wr2qegtBesUjXrdMuSCpDHXcLqHnMpRfWznUU7eDkeH29M7Arz\nOhK9MCCbYM0PSG87kGaApQVIc+zMNTzqK9L2glM6rRrVRfMm1+PYK8bosmTJ\nI19I\r\n=aW78\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCa0hHoNhb0q9lQ4ZKLmbzMM5NVnFcv2ccRXC4m+P3u3gIgFIC4UWjIsm2GyS9fCRafpM6SnWvVN7C9nRJy7UY5gUw="}]},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"_npmUser":{"name":"thejameskyle","email":"me@thejameskyle.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ci-parallel-vars_1.0.1_1592509881051_0.9666294558883737"},"_hasShrinkwrap":false}},"time":{"created":"2018-05-25T20:06:07.120Z","1.0.0":"2018-05-25T20:06:07.200Z","modified":"2022-04-12T06:20:52.357Z","1.0.1":"2020-06-18T19:51:21.172Z"},"maintainers":[{"name":"thejameskyle","email":"me@thejameskyle.com"}],"description":"Get CI environment variables for parallelizing builds","homepage":"https://github.com/jamiebuilds/ci-parallel-vars#readme","keywords":["ci","env","vars","index","total","parallel","builds","tests","travis","circle","buildkite","bitbucket","pipelines","knapsack"],"repository":{"type":"git","url":"git+https://github.com/jamiebuilds/ci-parallel-vars.git"},"author":{"name":"Jamie Kyle","email":"me@thejameskyle.com"},"bugs":{"url":"https://github.com/jamiebuilds/ci-parallel-vars/issues"},"license":"MIT","readme":"# ci-parallel-vars\n\n> Get CI environment variables for parallelizing builds\n\n## Install\n\n```\nyarn add ci-parallel-vars\n```\n\n## Usage\n\n```js\nconst ciParallelVars = require('ci-parallel-vars');\n\nconsole.log(ciParallelVars); // { index: 3, total: 10 } || null\n```\n\n## Supports\n\n> If you want to add support for another pair, please open a pull request and\n> add them to `index.js` and to this list.\n\n- [Knapsack] / [TravisCI] / [GitLab] - `CI_NODE_INDEX`/`CI_NODE_TOTAL`\n- [CircleCI] - `CIRCLE_NODE_INDEX`/`CIRCLE_NODE_TOTAL`\n- [Bitbucket Pipelines] - `BITBUCKET_PARALLEL_STEP`/`BITBUCKET_PARALLEL_STEP_COUNT`\n- [Buildkite] - `BUILDKITE_PARALLEL_JOB`/`BUILDKITE_PARALLEL_JOB_COUNT`\n- [Semaphore] - `SEMAPHORE_CURRENT_JOB`/`SEMAPHORE_JOB_COUNT`\n\nOne of these pairs must both be defined as numbers or `ci-parallel-vars` will\nbe `null`.\n\n[Knapsack]: http://docs.knapsackpro.com/ruby/knapsack#info-about-env-variables\n[TravisCI]: https://docs.travis-ci.com/user/speeding-up-the-build/#Parallelizing-RSpec%2C-Cucumber-and-Minitest-on-multiple-VMs\n[GitLab]: https://docs.gitlab.com/ee/ci/yaml/#parallel\n[CircleCI]: https://circleci.com/docs/1.0/parallel-manual-setup/#using-environment-variables\n[Bitbucket Pipelines]: https://confluence.atlassian.com/bitbucket/parallel-steps-946606807.html\n[Buildkite]: https://buildkite.com/docs/builds/parallel-builds\n[Semaphore]: https://semaphoreci.com/docs/available-environment-variables.html#variables-exported-in-builds-and-deploys\n","readmeFilename":"README.md"}