Installation
npm install --save @types/crc32-stream
Summary
This package contains type definitions for crc32-stream (https://github.com/archiverjs/node-crc32-stream).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/crc32-stream.
import { Transform } from "stream";
export class CRC32Stream extends Transform {
constructor();
digest(): Buffer;
digest(encoding: BufferEncoding): string;
hex(): string;
size(): number;
}
export class DeflateCRC32Stream extends Transform {
constructor();
digest(): Buffer;
digest(encoding: BufferEncoding): string;
hex(): string;
size(compressed?: boolean): number;
}
Additional Details
- Last updated: Mon, 04 Sep 2023 15:41:20 GMT
- Dependencies: @types/node
- Global values: none
Credits
These definitions were written by nadhifikbarw.