sindresorhus / compare-urls
Compare URLs by first normalizing them
☆66Updated last year
Alternatives and similar repositories for compare-urls:
Users that are interested in compare-urls are comparing it to the libraries listed below
- Remove leading, trailing and repeated whitespace from a string☆39Updated 3 years ago
- Strip redundant indentation and indent the string☆54Updated 3 years ago
- Run promise-returning & async functions a specific number of times concurrently☆39Updated 3 years ago
- Slice a string with ANSI escape codes☆47Updated 8 months ago
- Make a promise always fulfill with its actual fulfillment value or rejection reason☆53Updated 2 years ago
- Returns an array filled with the specified input☆42Updated 2 years ago
- Convert a file path to a file URL: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆61Updated 9 months ago
- Extract the article title of a HTML document☆54Updated 3 years ago
- Check if a file path is a binary file☆44Updated 9 months ago
- Check if a string is a URL☆84Updated last year
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆24Updated 2 years ago
- Wordwrap a string with ANSI escape codes☆120Updated last year
- Command line tool for creating or updating a .npmignore file based on .gitignore.☆29Updated 11 months ago
- Get the fullname of the current user☆47Updated last year
- Create an array with values that are present in the first input array but not additional ones☆38Updated 3 years ago
- Regular expression for matching reserved filename characters☆50Updated 2 years ago
- Get an array of valid, sorted, and cleaned semver versions from an array of strings☆40Updated 3 years ago
- Trim newlines from the start and/or end of a string☆48Updated last year
- Get metadata on the default editor or a specific editor☆53Updated last year
- Detect whether a terminal emulator supports hyperlinks☆55Updated 5 months ago
- Detect the dominant newline character of a string☆55Updated last year
- Reliably get the terminal window size - cross-platform☆26Updated last year
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆45Updated 9 months ago
- Pick random items from a list☆54Updated 3 years ago
- Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s☆29Updated 8 months ago
- Capitalize every word in string: unicorn cake → Unicorn Cake☆52Updated last year
- Get the first path that exists on disk of multiple paths☆58Updated last year
- Simplified high resolution timing☆79Updated 4 months ago
- Parse/stringify contact info like `Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)`☆34Updated 3 years ago
- The Node.js `util.deprecate()` function with browser support☆38Updated 6 years ago