forked from mirrors/action-gh-release
node_modules
This commit is contained in:
parent
2984051a42
commit
b28d8151ad
445 changed files with 83959 additions and 1 deletions
39
node_modules/shebang-command/readme.md
generated
vendored
Normal file
39
node_modules/shebang-command/readme.md
generated
vendored
Normal file
|
@ -0,0 +1,39 @@
|
|||
# shebang-command [](https://travis-ci.org/kevva/shebang-command)
|
||||
|
||||
> Get the command from a shebang
|
||||
|
||||
|
||||
## Install
|
||||
|
||||
```
|
||||
$ npm install --save shebang-command
|
||||
```
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
```js
|
||||
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](http://github.com/kevva)
|
Loading…
Add table
Add a link
Reference in a new issue