{"library":"build-number","type":"library","category":null,"description":"The `build-number` package offers a focused utility for programmatically detecting the current build or run number within various Continuous Integration (CI) environments. It simplifies the process of retrieving this critical metadata by abstracting away the platform-specific environment variables used by systems such as GitHub Actions, GitLab CI, Travis CI, Jenkins, and others. The current stable version is 1.0.0, suggesting a foundational and robust release. Given its specific utility, the package likely follows a maintenance-oriented release cadence, with updates primarily driven by changes in CI platform environment variables or the introduction of new CI systems. Its key differentiator is its singular focus on providing a consistent API for build number retrieval, aiming to reduce boilerplate and ensure portability across different CI/CD pipelines without requiring developers to manually parse or conditionally check numerous environment variables.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install build-number","imports":["const getBuildNumber = require('build-number');","import getBuildNumber from 'build-number';","import getBuildNumber from 'build-number';"]},{"cmd":"yarn add build-number","imports":[]},{"cmd":"pnpm add build-number","imports":[]}],"homepage":null,"github":"https://github.com/nkt/build-number","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/build-number","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/build-number/compatibility"}}