url-resolve

resolve multiple url segments like path.resolve

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
url-resolve
201.0.09 years ago9 years agoMinified + gzip package size for url-resolve in KB

Readme

url-resolve
resolve multiple url segments like path.resolve

usage

var urlResolve = require('url-resolve')
urlResolve('http://a','b','c','d')
// => http://a/b/c/d

api

url.resolve(from, [to ...])#
see also https://nodejs.org/api/url.html#urlurlresolvefromto

installation

$ npm install url-resolve

running the tests

From package root:
$ npm install
$ npm test

contributors

  • jden

license

ISC. (c) MMXV jden . See LICENSE.md