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

1.0.19 • 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.

Package Sidebar

Install

npm i @yarn-tool/shebang

Weekly Downloads

0

Version

1.0.19

License

MIT

Unpacked Size

15.2 kB

Total Files

7

Last publish

Collaborators

  • bluelovers