relative-url-resolver
v1.0.4
Published
Resolve relative url to absolute url via given base url.
Downloads
14
Maintainers
Readme
Relative URL Resolver
This library resolves relative url to absolute url via given base url. Confirming RFC-1808.
Installation
$ npm install relative-url-resolver
Usage
const UrlResolver = require('relative-url-resolver');
UrlResolver.resolve(relativeUrl, baseUrl);