Package
git-branch-is
Assert that the name of the current branch of a git repository has a particular value.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 29.9k
- -13% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 1
- Direct, from package.json
- Last release
- 3 months ago
- v5.0.0
- GitHub stars
- 93
- 9 forks
- Open issues / PRs
- 0 / 0
- Contributors
- -
- Commits, last 52 weeks
- 67
Downloads
Last week 2026-09-15 to 2026-09-21
29,919 downloads last week, 138,023 in the last month. The 12-month change of -13% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 5.0.0, 30 May 20263 months ago
- First published
- -
- Last push to GitHub
- 23 Sept 20261 day before the snapshot
- Repository archived
- No
- Open issues
- 0
- Open pull requests
- 0
- Commits, last 52 weeks
- 67
- Dependents on npm
- 15
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- ^20.19 || >=22.12
- Runtimes
- -
- Unpacked size (npm)
- 21 kB
- Dependencies (1)
commander
npm install git-branch-is- jsDelivr
https://cdn.jsdelivr.net/npm/git-branch-is@5.0.0/ - unpkg
https://unpkg.com/git-branch-is@5.0.0/ - esm.sh
https://esm.sh/git-branch-is@5.0.0
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| momentic | 125.3k | - | today | ESM only | - |
| nx | 7.1m | - | 15 days ago | CommonJS | - |
| @workos/emulate | 75.1k | - | today | ESM only | - |
| @argos-ci/cli | 101k | - | 11 days ago | ESM only | - |
| unexpected | 28.9k | - | 3 years ago | CommonJS | - |
| stably | 50.4k | - | 9 days ago | ESM + CommonJS | - |
| tuistory | 9.9k | - | 1 month ago | ESM only | - |
| @myobie/pty | 6k | - | 5 months ago | ESM only | - |
Indexability: Indexed.