Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9
Get the command from a shebang
License
NotificationsYou must be signed in to change notification settings
kevva/shebang-command
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Get the command from a shebang
$ npm install shebang-command
constshebangCommand=require('shebang-command');shebangCommand('#!/usr/bin/env node');//=> 'node'shebangCommand('#!/bin/bash');//=> 'bash'
Type:string
String containing a shebang.
Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
About
Get the command from a shebang
Resources
License
Security policy
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Packages0
No packages published
Uh oh!
There was an error while loading.Please reload this page.