url-join

Join urls and normalize as in path.join.

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

url-join類似パッケージ:

npmのダウンロードトレンド

3 年
🌟 url-joinのREADME.mdにリアルタイム使用チャートを表示するには、以下のコードをコピーしてください。
## 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のREADME.mdにGitHub Starsトレンドチャートを表示するには、以下のコードをコピーしてください。
## 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)

統計詳細

パッケージ
ダウンロード数
Stars
サイズ
Issues
公開日時
ライセンス
url-join13,944,0473654.74 kB5-MIT

url-join の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