shebang-command
npmv2.0.0Get the command from a shebang
Overview
shebang-command is an npm package that get the command from a shebang. The latest version is 2.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need get the command from a shebang and value a focused solution.
When not to use it
Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.
Pros
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No bundled TypeScript types (may require a separate @types package).
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of shebang-command.
Dependencies
Runtime (1)
Dev (2)
Used by
Popular packages that depend on shebang-command.
Alternatives to shebang-command
Cross platform child_process#spawn and child_process#spawnSync
the complete solution for node.js command-line programs
A querystring parser that supports nesting and arrays, with a depth limit
Functions for dealing with a PostgreSQL connection string
Parse, validate, manipulate, and display dates
Parse CLI arguments.
Utility to parse a string bytes to bytes and vice-versa
Parses set-cookie headers into objects
yargs the modern, pirate-themed, successor to optimist.
Frequently installed together
An AST-based pattern checker for JavaScript.
Delightful JavaScript Testing.
Like which(1) unix command. Find the first instance of an executable in the PATH.
Get the PATH environment variable key cross-platform
Version history
| Version | Published | License |
|---|---|---|
| 2.0.0latest | 6 years ago | MIT |
| 1.2.0 | 9 years ago | MIT |
| 1.1.0 | 10 years ago | MIT |
| 1.0.0 | 10 years ago | MIT |
Maintainers
Frequently asked questions
How do I install shebang-command?
Run `npm install shebang-command` to add shebang-command to your npm project.
What license is shebang-command released under?
shebang-command is distributed under the MIT license.
How popular is shebang-command?
shebang-command has approximately 0 downloads per week and 1 known dependent packages.