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:
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 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 4 years ago
- Check if a value is an error constructor☆13Updated 4 years ago
- List of vendor prefixes known to the web platform☆11Updated 2 years ago
- Check if a file is executable☆30Updated 6 years ago
- Check if a path is inside another path☆38Updated 2 years ago
- fs read and write streams based on minipass☆20Updated 11 months ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 4 years ago
- Check if a file path is a compressed file☆17Updated last year
- Check if a file path is a binary file☆45Updated last year
- List of archive file extensions☆14Updated last year
- Check if a value is a function☆27Updated 4 years ago
- Lowercase the keys of an object☆40Updated 2 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 7 years ago
- Get the first path that exists on disk of multiple paths☆58Updated 2 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Convert directories to glob compatible strings☆44Updated 5 years ago
- Ensure a path doesn't contain null bytes☆13Updated 2 years ago
- Test whether some promise passes a testing function☆14Updated 6 years ago
- Get an array of parent directories including itself☆27Updated last year
- Create ansi colors by passing open and close codes.☆19Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Check if a string is a scoped npm package name☆24Updated 2 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Modify the filename in a path☆16Updated 2 years ago
- Modify the keys of an object☆15Updated 3 years ago