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
- List of vendor prefixes known to the web platform☆11Updated 2 years ago
- Track the list of currently unhandled promise rejections☆24Updated 6 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
- Get all emails in a text file or stdin☆24Updated 3 years ago
- Check if a file path is a compressed file☆17Updated 10 months ago
- Check if a file path is a binary file☆44Updated 10 months ago
- ES2015 `String#codePointAt()` ponyfill☆22Updated 4 years ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆19Updated last year
- Find the module object for something that was require()d☆27Updated last year
- Expand POSIX bracket expressions (character classes) in glob patterns.☆27Updated 3 years ago
- Convert a time string to seconds: '0017' → 1337☆35Updated 3 years ago
- Get the user home directory with fallback to the system temp directory☆30Updated 3 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆19Updated 2 years ago
- fs read and write streams based on minipass☆20Updated 8 months ago
- Returns true if a filepath is absolute. The original path-is-absolute.☆22Updated 7 years ago
- ES2015 Number.isFinite() ponyfill☆19Updated 3 years ago
- List of archive file extensions☆14Updated 10 months ago
- Lowercase the keys of an object☆40Updated last year
- Check if a file is executable☆30Updated 6 years ago
- Turn a Git URL into its canonical form.☆14Updated 4 years ago
- Define multiple non-enumerable properties at once. Uses `Object.defineProperty` when available; falls back to standard assignment in olde…☆21Updated 7 months ago
- Is this an arguments object? It's a harder question than you think.☆15Updated 3 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Exclude certain items from an array☆20Updated 3 years ago
- Check if a protocol requires a certain port number to be added to an URL.☆11Updated last year
- Check if an object can be used like an Array☆16Updated 3 years ago
- Strip the final newline character from a string/buffer☆36Updated 4 months ago
- Check if a value is an error constructor☆13Updated 3 years ago
- Modify the keys of an object☆15Updated 3 years ago