1 | # Installation
|
2 | > `npm install --save @types/vary`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for vary (https://github.com/jshttp/vary#readme).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vary.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vary/index.d.ts)
|
10 | ````ts
|
11 | /// <reference types="node" />
|
12 | import { ServerResponse } from "http";
|
13 | export = vary;
|
14 |
|
15 | declare function vary(res: ServerResponse, field: string | string[]): void;
|
16 |
|
17 | declare namespace vary {
|
18 | function append(header: string, field: string | string[]): string;
|
19 | }
|
20 |
|
21 | ````
|
22 |
|
23 | ### Additional Details
|
24 | * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
|
25 | * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
26 |
|
27 | # Credits
|
28 | These definitions were written by [BendingBender](https://github.com/BendingBender).
|
29 |
|
\ | No newline at end of file |