Awesome Lists

normalize-url

by sindresorhus

JavaScriptpushed over 2 years ago

Normalize a URL

AI summary

URL normalizer

A utility to standardize and normalize URLs by resolving relative references and stripping unnecessary parts.

stars
842
forks
122
watching
16
awesome list
1
View on GitHub

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/sindresorhus/normalize-url/links.svg)](https://awesome.facts.dev/awesome/sindresorhus/normalize-url)
HTML
<a href="https://awesome.facts.dev/awesome/sindresorhus/normalize-url"><img src="https://awesome.facts.dev/shield/sindresorhus/normalize-url/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/sindresorhus/normalize-url/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.