npm install --save @types/etag
This package contains type definitions for etag (https://github.com/jshttp/etag#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/etag.
/// <reference types="node" />
export = etag;
declare function etag(entity: string | Buffer | etag.StatsLike, options?: etag.Options): string;
declare namespace etag {
interface Options {
weak?: boolean | undefined;
}
interface StatsLike {
ctime: Date;
mtime: Date;
ino: number;
size: number;
}
}
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/node
These definitions were written by BendingBender.