1 | # Installation
|
2 | > `npm install --save @types/parseurl`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for parseurl (https://github.com/pillarjs/parseurl).
|
6 |
|
7 | # Details
|
8 | Files 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 |
|
13 | import { IncomingMessage } from "http";
|
14 | import { Url } from "url";
|
15 |
|
16 | declare function parseurl(req: IncomingMessage): Url | undefined;
|
17 |
|
18 | declare namespace parseurl {
|
19 | function original(req: IncomingMessage): Url | undefined;
|
20 | }
|
21 |
|
22 | export = 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
|
31 | These definitions were written by [Stefan Reichel](https://github.com/bomret).
|
32 |
|
\ | No newline at end of file |