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
- GitHub activity indicates the source has been quiet since at least 2021-08-14, with the most recent evidence of upstream push in 2021, so it does not look actively maintained as of 2026-06-09.
- Update cadence appears sparse, with published package updates spanning 2016 to 2019, and no post-2021 updates shown in the evidence provided.
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.