# shebang-command [](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.
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
index.js | File | 387 B | 0644 |
|
license | File | 1.09 KB | 0644 |
|
package.json | File | 3.36 KB | 0644 |
|
readme.md | File | 495 B | 0644 |
|