An open API service indexing awesome lists of open source software.

https://github.com/junosuarez/url-resolve

resolve multiple url segments like path.resolve
https://github.com/junosuarez/url-resolve

Last synced: 15 days ago
JSON representation

resolve multiple url segments like path.resolve

Awesome Lists containing this project

README

          

# url-resolve
resolve multiple url segments like path.resolve

## usage
```js
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#url_url_resolve_from_to

## 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