Repository URL to install this package:
Version:
0.6.0 ▾
|
.. |
index.js |
license |
package.json |
readme.md |
Get the command from a shebang
$ npm install shebang-command
const shebangCommand = require('shebang-command'); shebangCommand('#!/usr/bin/env node'); //=> 'node' shebangCommand('#!/bin/bash'); //=> 'bash'
Type: string
String containing a shebang.