@dothq/url

1.2.1 • Public • Published

🔗 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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @dothq/url

      Weekly Downloads

      8

      Version

      1.2.1

      License

      MIT

      Unpacked Size

      4.65 kB

      Total Files

      6

      Last publish

      Collaborators

      • enderdev