npm.io
1.0.2 • Published 2 years ago

@types/parse-uri

Licence
MIT
Version
1.0.2
Deps
0
Size
4 kB
Vulns
0
Weekly
0
Stars
51.4K

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 0939 GMT
  • Dependencies: none

Credits

These definitions were written by tpluscode.