JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 254200
  • Score
    100M100P100Q10197F
  • License MIT

TypeScript definitions for url-join

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@types/url-join) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    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/v0.

    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 will work different depending of the operative systems but also doesn't work for some cases.
     */
    
    declare function urljoin(...parts: string[]): string;
    
    export = urljoin;
    

    Additional Details

    • Last updated: Tue, 07 Nov 2023 20:08:00 GMT
    • Dependencies: none

    Credits

    These definitions were written by Rogier Schouten, and Mike Deverell.