node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

shebang

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.