UNPKG

921 BMarkdownView Raw
1# Installation
2> `npm install --save @types/parseurl`
3
4# Summary
5This package contains type definitions for parseurl (https://github.com/pillarjs/parseurl).
6
7# Details
8Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parseurl.
9## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parseurl/index.d.ts)
10````ts
11/// <reference types="node" />
12
13import { IncomingMessage } from "http";
14import { Url } from "url";
15
16declare function parseurl(req: IncomingMessage): Url | undefined;
17
18declare namespace parseurl {
19 function original(req: IncomingMessage): Url | undefined;
20}
21
22export = parseurl;
23
24````
25
26### Additional Details
27 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
28 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
29
30# Credits
31These definitions were written by [Stefan Reichel](https://github.com/bomret).
32
\No newline at end of file