JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 255565
  • Score
    100M100P100Q10279F
  • 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.

    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: Wed, 18 Oct 2023 11:45:07 GMT
    • Dependencies: none

    Credits

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