odin-default-js-exercises/node_modules/shebang-command
Michael Frank d28d80c46f Clean up the oopsie. Rebuild the blank exercises. 2021-05-09 00:39:21 +12:00
..
index.js remove timer and simon 2017-12-15 12:56:14 -06:00
license remove timer and simon 2017-12-15 12:56:14 -06:00
package.json Clean up the oopsie. Rebuild the blank exercises. 2021-05-09 00:39:21 +12:00
readme.md remove timer and simon 2017-12-15 12:56:14 -06: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