Muqriz 48f16bfc3e initail first | vor 4 Monaten | |
---|---|---|
.. | ||
index.js | vor 4 Monaten | |
license | vor 4 Monaten | |
package.json | vor 4 Monaten | |
readme.md | vor 4 Monaten |
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.