@neumatter/url
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

NeuURL

JavaScript Style Guide

Extends the URL class to make an easier to work with URL API.


Table of Contents


Install

npm i @neumatter/url

Usage

constructor (class) NeuURL:

Args [url: string | URL | NeuURL | undefined, base: string | URL | NeuURL | undefined]

import NeuURL from '@neumatter/url'

const url = new NeuURL('/path/subdir')
const url = new NeuURL('https://localhost:3000/path/subdir')
const url = new NeuURL()

Package Sidebar

Install

npm i @neumatter/url

Weekly Downloads

0

Version

1.0.0

License

none

Unpacked Size

55.2 kB

Total Files

8

Last publish

Collaborators

  • clyng57