forgeplus-react/node_modules/shebang-command
zhiyuanliu cb17bad1d4 activity visualize step one 2023-07-29 06:19:10 -07:00
..
index.js activity visualize step one 2023-07-29 06:19:10 -07:00
license activity visualize step one 2023-07-29 06:19:10 -07:00
package.json activity visualize step one 2023-07-29 06:19:10 -07:00
readme.md activity visualize step one 2023-07-29 06:19:10 -07:00

readme.md

shebang-command Build Status

Get the command from a shebang

Install

$ npm install --save shebang-command

Usage

const shebangCommand = require('shebang-command');

shebangCommand('#!/usr/bin/env node');
//=> 'node'

shebangCommand('#!/bin/bash');
//=> 'bash'

API

shebangCommand(string)

string

Type: string

String containing a shebang.

License

MIT © Kevin Martensson