@types/url-join
TypeScript icon, indicating that this package has built-in type declarations

4.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/url-join

Weekly Downloads

178,282

Version

4.0.3

License

MIT

Unpacked Size

3.77 kB

Total Files

5

Last publish

Collaborators

  • types