1 | # Installation
|
2 | > `npm install --save @types/url-join`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for url-join (https://github.com/jfromaniello/url-join).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-join.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/url-join/index.d.ts)
|
10 | ````ts
|
11 | /**
|
12 | * Join all arguments together and normalize the resulting url.
|
13 | * This works similar to `path.join` but you shouldn't use `path.join` for urls since it works
|
14 | * differently depending on the operating system and also doesn't work for some cases.
|
15 | */
|
16 | declare function urljoin(...parts: string[]): string;
|
17 | declare function urljoin(parts: string[]): string;
|
18 |
|
19 | export = urljoin;
|
20 | export as namespace urljoin;
|
21 |
|
22 | ````
|
23 |
|
24 | ### Additional Details
|
25 | * Last updated: Tue, 07 Nov 2023 20:08:00 GMT
|
26 | * Dependencies: none
|
27 |
|
28 | # Credits
|
29 | These definitions were written by [Rogier Schouten](https://github.com/rogierschouten), [Mike Deverell](https://github.com/devrelm), and [BendingBender](https://github.com/BendingBender).
|
30 |
|
\ | No newline at end of file |