sindresorhus / shebang-regexLinks
Regular expression for matching a shebang line
☆46Updated 4 years ago
Alternatives and similar repositories for shebang-regex
Users that are interested in shebang-regex are comparing it to the libraries listed below
Sorting:
- Slice a string with ANSI escape codes☆50Updated last year
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆59Updated 2 years ago
- Check if a path is inside another path☆38Updated 2 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 4 years ago
- Check if a file path is a binary file☆46Updated last year
- Modify the filename in a path☆16Updated 3 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Get a Gravatar image from an identifier, such as an email☆41Updated 3 years ago
- Modify the values of an object☆27Updated 3 years ago
- Check if a file is executable☆29Updated 7 years ago
- Repeat a string - fast☆34Updated 4 years ago
- Get the visual width of the widest line in a string - the number of columns required to display it☆37Updated last year
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated last year
- Check if an Array is sorted☆34Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated last year
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Check if a number is in a given range☆21Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 3 years ago
- Check if a file path is a compressed file☆17Updated last year
- Check if a value is a function☆27Updated 4 years ago
- Strip the final newline character from a string/buffer☆36Updated 9 months ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Regular expression for matching astral symbols☆34Updated 6 years ago
- Check if a number is a redirect HTTP status code☆23Updated 4 years ago
- Alphabetically sort an array of strings☆39Updated 4 years ago