MIF_E31222707/node_modules/shebang-command
adeliaala 0d288a48b9 done 2025-07-15 13:57:20 +07:00
..
index.js done 2025-07-15 13:57:20 +07:00
license done 2025-07-15 13:57:20 +07:00
package.json done 2025-07-15 13:57:20 +07:00
readme.md done 2025-07-15 13:57:20 +07:00

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.