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
- Convert matching single-quotes to double-quotes: `I 'love' unicorns` → `I "love" unicorns`☆22Updated 2 years ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- List of archive file extensions☆14Updated last year
- Track the list of currently unhandled promise rejections☆24Updated 6 years ago
- Strip redundant indentation and indent the string☆54Updated 4 years ago
- fs read and write streams based on minipass☆20Updated 9 months ago
- Check if a file path is a compressed file☆17Updated last year
- 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
- Get the first path that exists on disk of multiple paths☆58Updated 2 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
- 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
- Check if a file path is a binary file☆44Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 4 years ago
- Create ansi colors by passing open and close codes.☆19Updated last year
- Strip the final newline character from a string/buffer☆36Updated 6 months ago
- Check if an Array is sorted☆34Updated 3 years ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Check if a value is an error constructor☆13Updated 4 years ago
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Strip shebang (eg. #!/bin/sh) from a string☆11Updated 3 years ago
- A ponyfill for Buffer.fill☆10Updated 6 years ago
- utility to create a pretty report for a vfile☆20Updated last year
- ES2015 Number.isFinite() ponyfill☆19Updated 4 years ago
- Returns `true` if a file path appears to be relative. Moved from the "relative" lib.☆14Updated 6 years ago
- Convert a Source Map object to a comment☆15Updated 3 years ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 4 years ago