@availity/resolve-url

Resolve absolute url from relative urls

Usage no npm install needed!

<script type="module">
  import availityResolveUrl from 'https://cdn.skypack.dev/@availity/resolve-url';
</script>

README

@availity/resolve-url

Resolve URLs to absolute URI/IRI.

Version NPM Downloads Dependecy Status

This library resolves relative IRIs to absolute IRIs given a base IRI, conforming to RFC3986. The code was borrowed from relative-to-absolute-iri . There is an open issue to make the library compatible with IE11: Issue #5

Installation

NPM

npm install @availity/resolve-url

Yarn

yarn add @availity/resolve-url

Documentation

Check out more documentation at availity.github.io