normalize-url

Normalize a URL

MIT License

Downloads
110.4M
Stars
824
Committers
43

Bot releases are hidden (Show)

normalize-url -

Published by sindresorhus over 5 years ago

normalize-url -

Published by sindresorhus almost 6 years ago

  • Remove multiple slashes if they are at the start of pathname (#78) a76edbd
  • Fix incorrect removal of trailing slash from a hash (#82) 191ad4b
normalize-url -

Published by sindresorhus almost 6 years ago

Breaking:

  • Require Node.js 8 ee7e2c5
  • Make stripHash option false by default 211322b
  • Hard-deprecate some deprecated options f066795
  • Add stripAuthentication option that is enabled by default f0f3e81

Other:

  • Add opt-in stripProtocol option 211322b

https://github.com/sindresorhus/normalize-url/compare/v3.3.0...v4.0.0

Package Rankings
Top 6.73% on Proxy.golang.org
Top 16.25% on Repo1.maven.org
Top 0.89% on Npmjs.org
Top 12.71% on Bower.io
Badges
Extracted from project README
Coverage Status