url-join

Join urls and normalize as in path.join.

url-join downloads url-join version url-join license

url-joinBenzer Paketler:
npm İndirme Trendi
3 Yıl
🌟 url-join'in README.md'sinde gerçek zamanlı kullanım grafiğini göstermek için aşağıdaki kodu kopyalayın.
## Usage Trend
[![Usage Trend of url-join](https://npm-compare.com/img/npm-trend/THREE_YEARS/url-join.png)](https://npm-compare.com/url-join#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 url-join'in README.md'sinde GitHub stars trend grafiğini göstermek için aşağıdaki kodu kopyalayın.
## GitHub Stars Trend
[![GitHub Stars Trend of url-join](https://npm-compare.com/img/github-trend/url-join.png)](https://npm-compare.com/url-join)
İstatistik Detayı
Paket
İndirmeler
Stars
Boyut
Issues
Yayın Tarihi
Lisans
url-join11,551,9933654.74 kB6-MIT
url-join için README

Join all arguments together and normalize the resulting URL.

Install

npm install url-join

If you want to use it directly in a browser use a CDN like Skypack.

Usage

import urlJoin from 'url-join';

const fullUrl = urlJoin('http://www.google.com', 'a', '/b/cd', '?foo=123');

console.log(fullUrl);

Prints:

'http://www.google.com/a/b/cd?foo=123'

License

MIT