shebang

Extract normalized shebang command token

Shebang

Node module for extracting the normalized shebang command token.

var shebang = require('shebang');
 
console.log(shebang("#!/usr/bin/ruby")) // "ruby" 
console.log(shebang("#!/usr/bin/env node")) // "node" 
npm test

MIT.