UNPKG

@types/forwarded

Version:
26 lines (18 loc) 860 B
# Installation > `npm install --save @types/forwarded` # Summary This package contains type definitions for forwarded (https://github.com/jshttp/forwarded). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forwarded. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/forwarded/index.d.ts) ````ts /// <reference types="node" /> import { IncomingMessage } from "http"; export = forwarded; declare function forwarded(req: IncomingMessage): string[]; ```` ### Additional Details * Last updated: Sat, 07 Jun 2025 02:15:25 GMT * Dependencies: [@types/node](https://npmjs.com/package/@types/node) # Credits These definitions were written by [BendingBender](https://github.com/BendingBender), and [Sebastian Beltran](https://github.com/bjohansebas).