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

0.5.2 • Public • Published

Installation

npm install --save @types/fresh

Summary

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

Details

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

index.d.ts

export = fresh;

declare function fresh(reqHeaders: fresh.Headers, resHeaders: fresh.Headers): boolean;

declare namespace fresh {
    interface Headers {
        [header: string]: string | string[] | number | undefined;
    }
}

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender.

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.5.2
    71,718
  • 0.5.1
    71
  • 0.5.0
    36,820

Package Sidebar

Install

npm i @types/fresh

Weekly Downloads

108,609

Version

0.5.2

License

MIT

Unpacked Size

2.98 kB

Total Files

5

Last publish

Collaborators

  • types