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

0.5.3 • 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.

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: Sat, 07 Jun 2025 02:15:25 GMT
  • Dependencies: none

Credits

These definitions were written by BendingBender, and Sebastian Beltran.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/fresh

Weekly Downloads

235,920

Version

0.5.3

License

MIT

Unpacked Size

3.22 kB

Total Files

5

Last publish

Collaborators

  • types