Rapport-Laravel/node_modules/shebang-command
Ravi Gulhane 070be631f6 Laravel 13 May 2026-05-13 16:32:55 +05:30
..
index.js Laravel 13 May 2026-05-13 16:32:55 +05:30
license Laravel 13 May 2026-05-13 16:32:55 +05:30
package.json Laravel 13 May 2026-05-13 16:32:55 +05:30
readme.md Laravel 13 May 2026-05-13 16:32:55 +05:30

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.