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

1.0.0 • Public • Published

URI

JavaScript Style Guide

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

Package Sidebar

Install

npm i @neumatter/uri

Weekly Downloads

1

Version

1.0.0

License

none

Unpacked Size

39.8 kB

Total Files

8

Last publish

Collaborators

  • clyng57