UI for Zipcoin Blue
Tennessee Gibbs 0304752480 added pages to master 6 年前
..
index.js added pages to master 6 年前
license added pages to master 6 年前
package.json added pages to master 6 年前
readme.md added pages to master 6 年前

readme.md

shebang-regex Build Status

Regular expression for matching a shebang

Install

$ npm install --save shebang-regex

Usage

var shebangRegex = require('shebang-regex');
var str = '#!/usr/bin/env node\nconsole.log("unicorns");';

shebangRegex.test(str);
//=> true

shebangRegex.exec(str)[0];
//=> '#!/usr/bin/env node'

License

MIT © Sindre Sorhus