budibase/packages/backend-core/node_modules/shebang-command
Budibase Helm Bot c1e5378350 Helm Release: 1.2.36 2022-08-11 08:17:28 +00:00
..
index.js Helm Release: 1.2.36 2022-08-11 08:17:28 +00:00
license Helm Release: 1.2.36 2022-08-11 08:17:28 +00:00
package.json Helm Release: 1.2.36 2022-08-11 08:17:28 +00:00
readme.md Helm Release: 1.2.36 2022-08-11 08:17:28 +00: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.