Vika a1fdb9607d hw react2 | 2 jaren geleden | |
---|---|---|
.. | ||
index.js | 2 jaren geleden | |
license | 2 jaren geleden | |
package.json | 2 jaren geleden | |
readme.md | 2 jaren geleden |
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.