Sha256: 7918385f0c22cac3aeae9bcebdc589649f3cd4b62ce087afd60ee35ce6f5b6f8
Contents?: true
Size: 495 Bytes
Versions: 85
Compression:
Stored size: 495 Bytes
Contents
# 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.
Version data entries
85 entries across 85 versions & 6 rubygems