@neumatter/uri
v1.0.0
Published
URI class that can be used on relative URIs.
Downloads
4
Maintainers
Readme
URI
URI class that can be used on relative URIs.
Table of Contents
Install
npm i @neumatter/uri
Usage
import URI from '@neumatter/uri'
const uri = new URI('https://example.com/schemas/address#/properties/street_address')
// do something with uri
import URI from '@neumatter/uri'
const uri = new URI('#/properties/street_address')
// do something with uri
import URI from '@neumatter/uri'
const uri = new URI('/schemas/address')
// do something with uri