@yarn-tool/shebang
TypeScript icon, indicating that this package has built-in type declarations

1.0.20 • Public • Published

Shebang

Description

Node module for extracting the normalized shebang command token.

Examples

var shebang = require('shebang');

console.log(shebang("#!/usr/bin/ruby")) // "ruby"
console.log(shebang("#!/usr/bin/env node")) // "node"

Tests

npm test

License

MIT.

Dependents (1)

Package Sidebar

Install

npm i @yarn-tool/shebang

Weekly Downloads

4

Version

1.0.20

License

MIT

Unpacked Size

15.5 kB

Total Files

7

Last publish

Collaborators

  • bluelovers