GitShow/sindresorhus/shebang-regex
sindresorhus

shebang-regex

Regular expression for matching a shebang line

by sindresorhus
Star on GitHubForknpm

JavaScript

48 stars11 forks4 contributorsQuiet · 4y agoSince 2015v4.0.0MIT

Meet the team

See all 4 on GitHub →
sindresorhus
sindresorhus12 contributions
BendingBender
BendingBender1 contribution
kevva
kevva1 contribution
Richienb
Richienb1 contribution

Languages

View on GitHub →
JavaScript73.9%
TypeScript26.1%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
DeadlySurgeon
Why?ClosedIssue

Duplicate of https://github.com/sindresorhus/shebang-regex/issues/3, however legitimately I want to know, why. This package is basically a single line, exported. It has 2295 dependents at the time that I'm posting, with downloads just this week. This is consuming gigabytes of bandwidth each and every week, countless watts of power in those downloading it, for 9 characters of data. Hell, removing the , the , and reducing the would likely also significantly reduce the amount of damage just this one library is causing. So why does this exist? Are people seriously unable to write the regex themselves? Are they incapable of copying and pasting it if they can't write it themselves? Why do you keep writing these micro dependencies?

DeadlySurgeon · 1y ago
Richienb
Move to GitHub ActionsMergedPR
Richienb · 5y ago
CodeMan99
Add optional matching group for the executable argumentMergedPR

This would enable easier checking of the executable name. However, definitely a breaking change for anyone using the first matching group.

CodeMan99 · 7y ago
Structured data for AI agents

Repository: sindresorhus/shebang-regex. Description: Regular expression for matching a shebang line Stars: 48, Forks: 11. Primary language: JavaScript. Languages: JavaScript (73.9%), TypeScript (26.1%). License: MIT. Latest release: v4.0.0 (4y ago). Open PRs: 0, open issues: 0. Last activity: 4y ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, kevva, Richienb.

·@ofershap

Replace github.com with gitshow.dev