Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Apr 28, 2024 via pnpm

url-join 5.0.0

Join urls and normalize as in path.join.
Package summary
Share
0
issues
1
license
1
MIT
Package created
29 Jan 2013
Version published
23 Mar 2022
Maintainers
2
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
url-join@5.0.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of url-join 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does url-join do?

The url-join is a popular npm package designed to simplify the process of joining and normalizing URLs. This tool operates similarly to path.join, allowing users to combine all arguments and then normalize the resulting URL. This feature streamlines the process of constructing URLs in your JavaScript projects.

How do you use url-join?

To utilize url-join in your project, you first need to install it via npm with the command npm install url-join. After installation, you can integrate it directly into your code. Below is an example demonstrating how to use url-join:

import urlJoin from 'url-join';

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

console.log(fullUrl);  // This will print: 'http://www.google.com/a/b/cd?foo=123'

In this example, the urlJoin function combines the parts of the URL and normalizes them into a single, clean URL.

Where are the url-join docs?

The url-join documentation can be found on its GitHub repository, at git://github.com/jfromaniello/url-join.git. It provides basic information regarding installation and usage. For access to in-browser usage, a content delivery network (CDN) like Skypack is recommended by the authors.