markitect-main/node_modules/shebang-regex
tegwick d0abaab63a chore: update project state and prepare for image support development
- Add comprehensive image test document with various image types
- Update project structure with development artifacts
- Prepare foundation for image support enhancement phase
- Include test files for validating image editing workflows

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-26 08:06:22 +01:00
..
index.d.ts chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
index.js chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
license chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
package.json chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00
readme.md chore: update project state and prepare for image support development 2025-10-26 08:06:22 +01:00

shebang-regex Build Status

Regular expression for matching a shebang line

Install

$ npm install shebang-regex

Usage

const shebangRegex = require('shebang-regex');

const string = '#!/usr/bin/env node\nconsole.log("unicorns");';

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

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

shebangRegex.exec(string)[1];
//=> '/usr/bin/env node'

License

MIT © Sindre Sorhus