Node module for extracting normalized shebang command token
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md first commit Jun 27, 2013
package.json
shebang.js first commit Jun 27, 2013

README.md

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.