@yarn-tool/shebang
v1.0.20
Published
Extract normalized shebang command token
Downloads
37
Maintainers
Readme
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.