UNPKG

norm-url

Version:
33 lines (22 loc) 545 B
<h1 align="center"><code>norm-url.js</code></h1> <p align="center">Simple URL Normalizer</p> ## ⚙️ Installation ```terminal npm i norm-url ``` ## 📖 Usage #### • Import ```js // ES6 import normUrl from "norm-url"; // commonjs const normUrl = require("norm-url"); ``` #### • Examples ```js normUrl("test.com#hash?query=hello"); // "http://test.com/#hash?query=hello" ``` --- [Support me on Patreon](https://www.patreon.com/axorax) — [Check out my socials](https://github.com/axorax/socials)