Normalize a URL
☆871Feb 19, 2026Updated last week
Alternatives and similar repositories for normalize-url
Users that are interested in normalize-url are comparing it to the libraries listed below
Sorting:
- Compare URLs by first normalizing them☆72Jan 1, 2024Updated 2 years ago
- Humanize a URL: https://sindresorhus.com → sindresorhus.com☆252Jul 9, 2022Updated 3 years ago
- Create an array with values that are present in the first input array but not additional ones☆40Sep 14, 2021Updated 4 years ago
- Check if argv has a specific flag☆96Jul 19, 2021Updated 4 years ago
- Type check values☆1,764Dec 27, 2025Updated 2 months ago
- Lax URL parsing with support for protocol-less URLs and IPs☆55Sep 7, 2025Updated 5 months ago
- Read and parse a JSON file☆248May 17, 2023Updated 2 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Promisify a callback-style function☆1,514Sep 12, 2022Updated 3 years ago
- Strip redundant indentation and indent the string☆55May 3, 2021Updated 4 years ago
- Convert a value to an array☆133Nov 9, 2021Updated 4 years ago
- Create an array of unique values, in order, from the input arrays☆78Mar 1, 2021Updated 5 years ago
- Convert a string to a valid safe filename☆515Nov 5, 2025Updated 3 months ago
- Convert bytes to a human readable string: 1337 → 1.34 kB☆1,291Sep 21, 2025Updated 5 months ago
- Get namespaced config from the closest package.json☆121Nov 5, 2023Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `localhost`☆66Sep 9, 2025Updated 5 months ago
- Get a stream as a string, Buffer, ArrayBuffer or array☆359Oct 28, 2024Updated last year
- A safer `.hasOwnProperty()`☆29Jun 21, 2023Updated 2 years ago
- Get the visual width of a string - the number of columns required to display it☆522Feb 18, 2026Updated last week
- Import a module like with `require()` but from a given path☆86Jul 8, 2022Updated 3 years ago
- Ensure a function is only called once☆165Feb 2, 2026Updated last month
- Parse JSON with more helpful errors☆372Apr 9, 2025Updated 10 months ago
- Function argument validation for humans☆3,879Oct 16, 2025Updated 4 months ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Sort an array on an object property☆201Oct 7, 2025Updated 4 months ago
- Make a directory and its parents if needed - Think `mkdir -p`☆477Sep 10, 2025Updated 5 months ago
- Memoize functions - an optimization technique used to speed up consecutive function calls by caching the result of calls with identical i…☆1,150Nov 11, 2025Updated 3 months ago
- Check if something is a Node.js stream☆115Oct 28, 2024Updated last year
- Get the version of a binary in semver format☆42Apr 3, 2024Updated last year
- Lowercase the keys of an object☆41Feb 2, 2026Updated last month
- Get all urls in a string☆373Aug 15, 2023Updated 2 years ago
- Check if a URL is absolute☆80Sep 13, 2025Updated 5 months ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- User-friendly glob matching☆2,631Feb 18, 2026Updated 2 weeks ago
- Trim newlines from the start and/or end of a string☆49Mar 20, 2023Updated 2 years ago
- Check if a path is the current working directory☆22May 10, 2025Updated 9 months ago
- Get all property keys of an object including non-enumerable and inherited ones☆110Sep 7, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago