codigo0/backend/node_modules/shebang-command
planetazuzu 0201f16cf4
Some checks are pending
Auto Deploy to Server / deploy (push) Waiting to run
Update lab configuration 2026-03-22
2026-03-22 22:50:29 +01:00
..
index.js Update lab configuration 2026-03-22 2026-03-22 22:50:29 +01:00
license Update lab configuration 2026-03-22 2026-03-22 22:50:29 +01:00
package.json Update lab configuration 2026-03-22 2026-03-22 22:50:29 +01:00
readme.md Update lab configuration 2026-03-22 2026-03-22 22:50:29 +01:00

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.