1.0.2 • Published 6 months ago
@types/parse-uri v1.0.2
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
// Type definitions for parse-uri 1.0
// Project: https://github.com/Kikobeats/parse-uri
// Definitions by: tpluscode <https://github.com/tpluscode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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: Thu, 07 Oct 2021 19:01:21 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by tpluscode.