chat-client/node_modules/shebang-command
jsrobson10 c63a625a0a Can now send links, do some string formatting, send newlines, organised chats more. Updated the readme 2019-04-17 08:53:12 +10:00
..
index.js Can now send links, do some string formatting, send newlines, organised chats more. Updated the readme 2019-04-17 08:53:12 +10:00
license Can now send links, do some string formatting, send newlines, organised chats more. Updated the readme 2019-04-17 08:53:12 +10:00
package.json Can now send links, do some string formatting, send newlines, organised chats more. Updated the readme 2019-04-17 08:53:12 +10:00
readme.md Can now send links, do some string formatting, send newlines, organised chats more. Updated the readme 2019-04-17 08:53:12 +10: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