@types/vary
TypeScript icon, indicating that this package has built-in type declarations

1.1.3 • Public • Published

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 15:11:36 GMT
  • Dependencies: @types/node

Credits

These definitions were written by BendingBender.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.3
    72,131
  • 1.1.2
    114
  • 1.1.1
    22
  • 1.1.0
    10,561

Package Sidebar

Install

npm i @types/vary

Weekly Downloads

82,828

Version

1.1.3

License

MIT

Unpacked Size

3.11 kB

Total Files

5

Last publish

Collaborators

  • types