sindresorhus / compare-urlsView external linksLinks
Compare URLs by first normalizing them
☆72Jan 1, 2024Updated 2 years ago
Alternatives and similar repositories for compare-urls
Users that are interested in compare-urls are comparing it to the libraries listed below
Sorting:
- Check if a filepath is a Markdown file☆22May 4, 2021Updated 4 years ago
- Strip the authentication part of a URL☆20Jul 9, 2022Updated 3 years ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Modify the values of an object☆29Sep 10, 2021Updated 4 years ago
- Check if a JavaScript environment has a DOM☆21May 3, 2021Updated 4 years ago
- Strip a substring from the start/end of a string☆23Jul 9, 2022Updated 3 years ago
- Regular expression for matching reserved filename characters☆53Sep 14, 2025Updated 5 months ago
- Get bundle name from a bundle identifier (macOS): com.apple.Safari → Safari☆18Mar 7, 2021Updated 4 years ago
- [DEPRECATED] A better Atom `TextEditor#setText()` that preserves cursor/scroll position and selections☆12Jan 24, 2021Updated 5 years ago
- Check if a string is email like☆25Nov 11, 2025Updated 3 months ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- Remove leading, trailing and repeated whitespace from a string☆41Aug 10, 2021Updated 4 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last week
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- Simple wildcard matching☆34Sep 15, 2025Updated 4 months ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Normalize the newline characters in a string to `\n`☆30Sep 16, 2025Updated 4 months 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
- Strip a path from a path☆18Aug 18, 2021Updated 4 years ago
- Lax `url.format()` that formats a hostname and port into IPv6-compatible socket form of `hostname:port`☆14Apr 9, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Lowercase the keys of an object☆41Feb 2, 2026Updated last week
- Parse and stringify file paths with line and column like `unicorn.js14`☆24Nov 22, 2025Updated 2 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated last year
- Normalize a URL☆870Jan 1, 2026Updated last month
- Get a random property from an object☆15Jul 2, 2024Updated last year
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Get the path to the user home directory☆13Apr 9, 2021Updated 4 years ago
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- ES2015 Number.isFinite() ponyfill☆20Apr 7, 2021Updated 4 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- Left pad each line in a string☆20Aug 31, 2023Updated 2 years ago
- Creates HTTP/HTTPS Agent with Infinity maxSockets☆11Apr 20, 2015Updated 10 years ago
- Trim a consecutively repeated substring: foo--bar---baz → foo-bar-baz☆20Jul 9, 2022Updated 3 years ago