sindresorhus / shebang-regex
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
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- List of vendor prefixes known to the web platform☆11Updated 2 years ago
- Check if a file path is a compressed file☆17Updated 10 months ago
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- utility to create a pretty report for a vfile☆20Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Check if a file is executable☆30Updated 6 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Lowercase the keys of an object☆40Updated last year
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Get the version of a binary in semver format☆35Updated 11 months ago
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Visit a method over the items in an object, or map visit over the objects in an array. This is an alternative approach to using extend or…☆20Updated 4 years ago
- Slice a string with ANSI escape codes☆47Updated 9 months ago
- Check if a file path is a binary file☆44Updated 10 months ago
- Modify the keys of an object☆15Updated 3 years ago
- ES2015 Number.isNaN() ponyfill☆28Updated 10 months ago
- Check if a value is an error constructor☆13Updated 3 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 3 years ago
- List of archive file extensions☆14Updated 10 months ago
- Is this an arguments object? It's a harder question than you think.☆15Updated 3 months ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆13Updated 3 years ago