python-archieve-projects/WechatBot/node_modules/shebang-command
Lee2vv 0b82373111 init 2024-05-05 13:46:50 +08:00
..
index.js init 2024-05-05 13:46:50 +08:00
license Backup 2023-08-18 21:52:54 +08:00
package.json Backup 2023-08-18 21:52:54 +08:00
readme.md Backup 2023-08-18 21:52:54 +08: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.