timetracker/frontend/node_modules/shebang-command
hhftechnologies c8f5379289 update
2024-11-25 23:16:17 +05:30
..
index.js update 2024-11-25 23:16:17 +05:30
license update 2024-11-25 23:16:17 +05:30
package.json update 2024-11-25 23:16:17 +05:30
readme.md update 2024-11-25 23:16:17 +05:30

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.