Installation
npm install --save @types/url-join
Summary
This package contains type definitions for url-join (https://github.com/jfromaniello/url-join).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-join.
index.d.ts
/**
* Join all arguments together and normalize the resulting url.
* This works similar to `path.join` but you shouldn't use `path.join` for urls since it works
* differently depending on the operating system and also doesn't work for some cases.
*/
declare function urljoin(...parts: string[]): string;
declare function urljoin(parts: string[]): string;
export = urljoin;
export as namespace urljoin;
Additional Details
- Last updated: Tue, 07 Nov 2023 20:08:00 GMT
- Dependencies: none
Credits
These definitions were written by Rogier Schouten, Mike Deverell, and BendingBender.