🔗 URL
A simple URL formatting module for Dot Browser.
⏬ Install
npm i @dothq/url
🚀 Example
const FormattedURL = require("@dothq/url");
const url = new FormattedURL("https://mynameis:slimshady@foo.bar/with-paths?youGotHashes=true#yes-we-do")
console.log(url) // { protocol: 'https://', showProtocol: false, host: 'mynameis:slimshady@foo.bar', pathname: '/with-paths?youGotHashes=true#yes-we-do' }
🖋 Authors
- Ender aka EnderDev - Main Developer - EnderDev
🤵 License
This project is licensed under the MIT License - see the LICENSE file for details