|
download
raw
495 Bytes
# shebang-command [![Build Status](https://travis-ci.org/kevva/shebang-command.svg?branch=master)](https://travis-ci.org/kevva/shebang-command)
> Get the command from a shebang
## Install
```
$ npm install 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.

Xet Storage Details

Size:
495 Bytes
·
Xet hash:
768a4b257b4d0e615944c6bb4c3ba1c89e4441a4672fd4feea3c06a873efea5a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.