npm.io
1.1.3 • Published 2 years ago

@types/vary

Licence
MIT
Version
1.1.3
Deps
1
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/vary

Summary

This package contains type definitions for vary (https://github.com/jshttp/vary#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/vary.

index.d.ts

/// <reference types="node" />
import { ServerResponse } from "http";
export = vary;

declare function vary(res: ServerResponse, field: string | string[]): void;

declare namespace vary {
    function append(header: string, field: string | string[]): string;
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 1536 GMT
  • Dependencies: @types/node

Credits

These definitions were written by BendingBender.