sindresorhus / shebang-regexLinks
Regular expression for matching a shebang line
☆48Updated 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:
- Strip redundant indentation and indent the string☆55Updated 4 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Lowercase the keys of an object☆41Updated 2 years ago
- Get the first path that exists on disk of multiple paths☆62Updated 2 months ago
- Slice a string with ANSI escape codes☆50Updated 2 months ago
- Strip the final newline character from a string/buffer☆37Updated last year
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 4 years ago
- Check if a file path is a binary file☆49Updated last year
- Check if a value is a function☆29Updated 4 years ago
- Convert a time string to seconds: '0017' → 1337☆36Updated 4 years ago
- Repeat a string - fast☆35Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Updated 2 years ago
- Modify the filename in a path☆17Updated 3 years ago
- Check if an Array is sorted☆35Updated 4 years ago
- Modify the values of an object☆29Updated 4 years ago
- ES2015 Number.isNaN() ponyfill☆29Updated last year
- Node.js 0.12 path.isAbsolute() ponyfill☆43Updated 4 years ago
- Create ansi colors by passing open and close codes.☆19Updated last year
- PostCSS plugin to discard overridden keyframes or counter-style.☆16Updated 9 years ago
- Exclude certain items from an array☆23Updated 5 months ago
- Check if a path is inside another path☆40Updated 2 months ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 4 years ago
- Check if a file is executable☆29Updated 7 years ago
- Simple cache config handling for your app or module☆21Updated 8 years ago
- Convert directories to glob compatible strings☆44Updated 6 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 8 years ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆46Updated last year
- Regular expression for matching astral symbols☆34Updated 6 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆63Updated last year
- Get a Gravatar image from an identifier, such as an email☆42Updated 4 years ago