✏️ Edit: readme.md
Path:
/home/thiqat5/mv2.thiqatech.com/node_modules/webpack-cli/node_modules/shebang-command/readme.md
Size: 567 B · Modified: 2022-09-25 05:25:55 · Perm: 0755 · Writable
← Back to directory
👁 View
⬇ Download
# 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)
💾 Save
Cancel
Save as UTF-8, newlines normalized to LF