prc b6c02717e6 Upload complete no-internet building environment. 1 éve
..
index.js b6c02717e6 Upload complete no-internet building environment. 1 éve
license b6c02717e6 Upload complete no-internet building environment. 1 éve
package.json b6c02717e6 Upload complete no-internet building environment. 1 éve
readme.md b6c02717e6 Upload complete no-internet building environment. 1 éve

readme.md

shebang-command Build Status

Get the command from a shebang

Install

$ npm install 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.