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

1.0.2 • Public • Published

Installation

npm install --save @types/parse-uri

Summary

This package contains type definitions for parse-uri (https://github.com/Kikobeats/parse-uri).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-uri.

index.d.ts

declare namespace parseURI {
    interface URI {
        source: string;
        protocol: string;
        authority: string;
        userInfo: string;
        user: string;
        password: string;
        host: string;
        port: string;
        relative: string;
        path: string;
        directory: string;
        file: string;
        query: string;
        anchor: string;
        queryKey: Record<string, string>;
    }

    interface Options {
        strictMode?: boolean;
    }
}

declare function parseURI(uri: string, opts?: parseURI.Options): parseURI.URI;

export = parseURI;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by tpluscode.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/parse-uri

Weekly Downloads

3,984

Version

1.0.2

License

MIT

Unpacked Size

3.73 kB

Total Files

5

Last publish

Collaborators

  • types