@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.

/@types/vary/

    Package Sidebar

    Install

    npm i @types/vary

    Weekly Downloads

    77,383

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    3.11 kB

    Total Files

    5

    Last publish

    Collaborators

    • types