Hacker GitHub

← All repos

sindresorhus/shebang-regex

View on GitHub ↗ ★ 48 JavaScript

Regular expression for matching a shebang line

6 mentions on Hacker News by 2 people: 0 stories, 6 comments · first 2018-11-28 · latest 2019-07-29

Mentions per year 6 mentions · busiest year 2019 (5)
20082026
  1. I love the useless tests : https://github.com/sindresorhus/shebang-regex/blob/1cb5d4aee... You could replace the regexp with something matching everything and they would still pass.
  2. well, the rate-map at least includes a function: https://github.com/sindresorhus/shebang-regex
  3. Tell me, why one needs packages such as this except for personal (and ultimately npm) marketing: https://github.com/sindresorhus/shebang-regex - the whole thing smells
  4. I hope, building a new package registry entails weeding out package-spam like this: https://github.com/sindresorhus/shebang-regex
  5. …placed by some idiotic digital nomads for their personal CV-polishment (ehm, not looking at you: https://github.com/sindresorhus/shebang-regex ). Have a look at where this package is used (basically only in cross-spawn, where there are 10…
  6. I hope you don't need such things anymore then: https://github.com/sindresorhus/shebang-regex/blob/master/in...