Escape RegExp special characters
☆598May 6, 2025Updated 10 months ago
Alternatives and similar repositories for escape-string-regexp
Users that are interested in escape-string-regexp are comparing it to the libraries listed below
Sorting:
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Check if a path is in the current working directory☆23May 3, 2021Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Similar to String#trim() but removes only whitespace on the right☆22Jul 9, 2021Updated 4 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Read the closest package.json file☆268Nov 7, 2025Updated 4 months ago
- Check if the character represented by a given Unicode code point is fullwidth☆51Aug 31, 2025Updated 6 months 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
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- [DEPRECATED] Node.js os.tmpdir() ponyfill☆37Jan 24, 2021Updated 5 years ago
- Clone and modify a RegExp instance☆24Jul 8, 2022Updated 3 years ago
- Unpipe a stream from all destinations☆22Dec 15, 2020Updated 5 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a string matches the name of a Node.js builtin module☆63Feb 27, 2025Updated last year
- Strip UTF-8 byte order mark (BOM) from a string☆112Apr 16, 2021Updated 4 years ago
- Find multiple RegExp matches in a string☆91Jul 8, 2022Updated 3 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- The Node.js `util.deprecate()` function with browser support☆37Nov 11, 2018Updated 7 years ago
- Strip the final newline character from a string/buffer☆38Oct 28, 2024Updated last year
- Moved to https://github.com/nodejs/string_decoder☆23Jun 21, 2017Updated 8 years ago
- Indent each line in a string☆115Jun 5, 2022Updated 3 years ago
- Get the PATH environment variable key cross-platform☆46Sep 12, 2025Updated 5 months ago
- Create an array without duplicates☆74May 3, 2021Updated 4 years ago
- Check if a value is a plain object☆104May 4, 2024Updated last year
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Get the user home directory with fallback to the system temp directory☆30Apr 16, 2021Updated 4 years ago
- Run some code when the process exits☆302Feb 4, 2026Updated last month
- Get the length of the longest item in an array.☆29Apr 4, 2018Updated 7 years ago
- Check if a path exists☆155Mar 3, 2022Updated 4 years ago
- Give me a string and I'll tell you if it's a valid npm package license string☆29Apr 14, 2021Updated 4 years ago
- Fallback to a default if `process.stdout.getWindowSize` doesn't exist☆24Jan 21, 2026Updated last month
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- Promisify a callback-style function☆1,514Sep 12, 2022Updated 3 years ago
- User-friendly glob matching☆2,632Feb 18, 2026Updated 2 weeks ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 2 years ago
- Synchronously write a file and create its ancestor directories if needed☆14May 26, 2019Updated 6 years ago