shebang-command is an npm package that extracts the command from a script shebang line. It’s useful if you need to parse a string like "#!/usr/bin/env node" and get the command name such as "node".
Project status
- The repository appears quiet and not actively maintained, with the last upstream push on 2021-08-14, and no updates since earlier tagged versions (v2.0.0 was in 2019).
- The effective update cadence is long-dormant, with substantial gaps between updates (2016 to 2019, and then no further updates through 2026-09-10).
AI summary generated
Recent updates
v2.0.0
This release (v2.0.0) updates the package’s runtime requirements to require Node.js 8. Release notes otherwise mention only minor internal “meta tweaks,” with no additional user-facing functionality described.
Breakingv1.2.0
Release v1.2.0 has no publisher-provided release notes. The code change in this release updates how the shebang command is parsed and returned, specifically when the shebang includes additional arguments.
Breaking1.1.0
Release 1.1.0 was published on 2016-04-07. No release notes or change details were provided, so it is not possible to identify new features, bug fixes, breaking changes, or dependency updates from the published information.