ostp/ostp-license/frontend/node_modules/shebang-command
ospab 1568db3323 ci: rename nightly to alpha 2026-07-09 02:46:47 +03:00
..
index.js ci: rename nightly to alpha 2026-07-09 02:46:47 +03:00
license ci: rename nightly to alpha 2026-07-09 02:46:47 +03:00
package.json ci: rename nightly to alpha 2026-07-09 02:46:47 +03:00
readme.md ci: rename nightly to alpha 2026-07-09 02:46:47 +03: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.