@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.

/@yarn-tool/shebang/

    Package Sidebar

    Install

    npm i @yarn-tool/shebang

    Weekly Downloads

    2

    Version

    1.0.20

    License

    MIT

    Unpacked Size

    15.5 kB

    Total Files

    7

    Last publish

    Collaborators

    • bluelovers