Replace all substring matches in a string
☆90Aug 9, 2021Updated 4 years ago
Alternatives and similar repositories for replace-string
Users that are interested in replace-string are comparing it to the libraries listed below
Sorting:
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last month
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆41Apr 21, 2021Updated 4 years ago
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 3 months ago
- Find multiple RegExp matches in a string☆91Jul 8, 2022Updated 3 years ago
- Sort an array of numbers☆18Sep 18, 2025Updated 5 months ago
- ES2015 Math.hypot() ponyfill☆12Apr 7, 2021Updated 4 years ago
- Check if an Array is sorted☆35Aug 11, 2021Updated 4 years ago
- Regular expression for matching scoped npm package names☆27Jul 9, 2022Updated 3 years ago
- Resolve the path of a globally installed module☆42Nov 6, 2023Updated 2 years ago
- While a condition returns true, calls a function repeatedly, and then resolves the promise☆58Oct 16, 2024Updated last year
- Check if a string is a scoped npm package name☆25Jul 9, 2022Updated 3 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Check if a path exists☆26Oct 30, 2023Updated 2 years ago
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Ensure a function is stable, meaning the same input always produces the same output☆16Nov 4, 2023Updated 2 years ago
- Get the UTI (Uniform Type Identifier) of a file on macOS☆23Aug 12, 2021Updated 4 years ago
- Extract the article title of a HTML document or website☆31Sep 9, 2025Updated 5 months ago
- Check if a process is running☆61Nov 4, 2021Updated 4 years ago
- Turn an object into a string of HTML attributes☆50Mar 30, 2023Updated 2 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Strip UTF-8 byte order mark (BOM) from a buffer☆21Oct 24, 2023Updated 2 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Ensures a value is a valid error by making it one if not☆87Sep 15, 2025Updated 5 months ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Aug 10, 2021Updated 4 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Open the URL from a web shortcut file☆17Nov 3, 2021Updated 4 years ago
- Open the URL from a web shortcut file in the browser☆20Nov 3, 2021Updated 4 years ago
- Launch the macOS Touch Bar simulator from the command-line☆44Jan 24, 2021Updated 5 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Break out of a promise chain☆24Apr 7, 2021Updated 4 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Decompress a HTTP response if needed☆75Oct 13, 2025Updated 4 months ago
- Get a random key from an object☆18Jul 2, 2024Updated last year