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
- Host: GitHub
- URL: https://github.com/junosuarez/url-resolve
- Owner: junosuarez
- License: isc
- Created: 2015-04-29T22:04:49.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-04-29T22:05:08.000Z (about 11 years ago)
- Last Synced: 2025-10-19T21:00:00.900Z (9 months ago)
- Language: JavaScript
- Size: 105 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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