projecte_ionic/node_modules/shebang-command
janmaroto b12369cb47 Conexio amb la api 2022-02-09 18:30:03 +01:00
..
index.js Conexio amb la api 2022-02-09 18:30:03 +01:00
license Conexio amb la api 2022-02-09 18:30:03 +01:00
package.json Conexio amb la api 2022-02-09 18:30:03 +01:00
readme.md Conexio amb la api 2022-02-09 18:30:03 +01:00

readme.md

shebang-command Build Status

Get the command from a shebang

Install

$ npm install --save 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.

License

MIT © Kevin Martensson