Current Path: > > lib > node_modules > npm > node_modules > shebang-command
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
index.js | File | 346 bytes | March 10 2021 14:36:37. | |
license | File | 1125 bytes | March 10 2021 14:36:37. | |
package.json | File | 1652 bytes | March 10 2021 14:36:37. | |
readme.md | File | 567 bytes | March 10 2021 14:36:37. |
# 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)
SILENT KILLER Tool