sindresorhus / shebang-regexView external linksLinks
Regular expression for matching a shebang line
☆48Aug 13, 2021Updated 4 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:
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Node.js 0.12 path.isAbsolute() ponyfill☆43Jan 24, 2021Updated 5 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Repeat a string - fast☆35May 3, 2021Updated 4 years ago
- Detect whether or not an object is a Typed Array☆21Jan 23, 2024Updated 2 years ago
- ES2015 Number.isNaN() ponyfill☆29May 2, 2024Updated last year
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 5 months ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- ES2015 `String#codePointAt()` ponyfill☆23Jan 23, 2021Updated 5 years ago
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated 2 weeks ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a path is inside another path☆40Sep 11, 2025Updated 5 months ago
- Get the command from a shebang☆24Aug 14, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Create an array by repeating the given string n times.☆19Apr 7, 2021Updated 4 years ago
- ☆19Dec 21, 2024Updated last year
- timers module for browserify☆24Dec 21, 2024Updated last year
- ☆19Apr 11, 2018Updated 7 years ago
- Check if an object can be used like an Array☆17Sep 13, 2025Updated 5 months ago
- Answers the question: "can this value have keys?". Returns true if a value is any of the object types: array, regexp, plain object, funct…☆19Aug 20, 2021Updated 4 years ago
- Try to guess if your terminal supports unicode☆18Dec 16, 2020Updated 5 years ago
- List of binary file extensions☆89May 4, 2025Updated 9 months ago
- A cache for managing namespaced sub-caches☆14Sep 4, 2021Updated 4 years ago
- Strip shebang (eg. #!/bin/sh) from a string☆11Aug 18, 2021Updated 4 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated 2 weeks ago
- abstract base class for crypto-streams☆21Sep 25, 2025Updated 4 months ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- node's assert.deepEqual algorithm except for the fact that (NaN === NaN) and (+0 !== -0).☆21Sep 4, 2021Updated 4 years ago
- Check if a file path is a text file☆21Apr 30, 2024Updated last year
- Like `new Map` but for older JavaScripts☆21Oct 25, 2025Updated 3 months ago
- Iterate over the own enumerable properties of an object, and return an object with properties that evaluate to true from the callback. Ex…☆23Feb 27, 2017Updated 8 years ago
- The map of HTTP status codes from the builtin http module☆19Apr 21, 2022Updated 3 years ago
- ☆19Dec 21, 2024Updated last year
- Use node's fs.realpath, but fall back to the JS implementation if the native one fails☆25Oct 25, 2025Updated 3 months ago