sindresorhus / shebang-regexLinks
Regular expression for matching a shebang line
☆46Updated 3 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☆54Updated 4 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- fs read and write streams based on minipass☆20Updated 10 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- List of vendor prefixes known to the web platform☆11Updated 2 years ago
- Check if a path is inside another path☆38Updated 2 years ago
- List of archive file extensions☆14Updated last year
- Check if a file path is a compressed file☆17Updated last year
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Get the version of a binary in semver format☆35Updated last year
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Check if a file is executable☆30Updated 6 years ago
- Check if a file path is a binary file☆44Updated last year
- Convert a time string to seconds: '0017' → 1337☆35Updated 4 years ago
- Check if a value is an error constructor☆13Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 7 years ago
- Lowercase the keys of an object☆40Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Strip the final newline character from a string/buffer☆36Updated 7 months ago
- Split a string at one or more indices☆23Updated 4 years ago
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Get the maximum permitted length of a path of a Unix domain socket☆13Updated 3 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Check if a value is a function☆27Updated 4 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Is this an arguments object? It's a harder question than you think.☆16Updated 5 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆18Updated last year