1.0.0 • Published 2 years ago
@neumatter/uri v1.0.0
URI
URI class that can be used on relative URIs.
Table of Contents
Install
npm i @neumatter/uriUsage
import URI from '@neumatter/uri'
const uri = new URI('https://example.com/schemas/address#/properties/street_address')
// do something with uriimport URI from '@neumatter/uri'
const uri = new URI('#/properties/street_address')
// do something with uriimport URI from '@neumatter/uri'
const uri = new URI('/schemas/address')
// do something with uri1.0.0
2 years ago