@ianwalter/url

2.0.0 • Public • Published

@ianwalter/url

The URL constructor / class without tears

npm page CI

Installation

yarn add @ianwalter/url

Usage

const createUrl = require('@ianwalter/url')

const url = createUrl('https://ianwalter.dev')
url.hostname //=> ianwalter.dev
url.pathname = '/projects'
url.href //=> https://ianwalter.dev/projects

License

Hippocratic License - See LICENSE

 

Created by Ian Walter

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i @ianwalter/url

    Weekly Downloads

    11

    Version

    2.0.0

    License

    SEE LICENSE IN LICENSE

    Unpacked Size

    11.3 kB

    Total Files

    17

    Last publish

    Collaborators

    • ianwalter