Skip to content
JS
Package

shebang-command

Get the command from a shebang

v2.0.0, 6 Sept 2019MIT-Types: None
$ npm install shebang-command

Key numbers

As of 25 Sept 2026
Weekly downloads
177.9m
+95% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 years ago
v2.0.0
GitHub stars
24
9 forks
Open issues / PRs
1 / 2
Contributors
2
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0100m200m300mSept 2025Mar 2026Sept 2026High 228.4m (18 Aug 2026)Low 60.9m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

177,910,781 downloads last week, 759,587,417 in the last month. The 12-month change of +95% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
04 in total
Latest version
2.0.0, 6 Sept 20197 years ago
First published
4 Dec 2015
Last push to GitHub
14 Aug 20211,867 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
2,265

Major versions

  1. v2 first release 2.0.0, 6 Sept 2019
  2. v1 first release 1.0.0, 4 Dec 2015

Recent releases

VersionPublished
2.0.06 Sept 2019
1.2.022 Sept 2016
1.1.07 Apr 2016
1.0.04 Dec 2015
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
>=8
Runtimes
-
Unpacked size (npm)
2.5 kB
Dependencies (1)
shebang-regex
npm install shebang-command
  • jsDelivrhttps://cdn.jsdelivr.net/npm/shebang-command@2.0.0/
  • unpkghttps://unpkg.com/shebang-command@2.0.0/
  • esm.shhttps://esm.sh/shebang-command@2.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.