1.0.0 • Published 1 year ago
@neumatter/url v1.0.0
NeuURL
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()
1.0.0
1 year ago