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, 06 Nov 2023 22:41:05 GMT
- Dependencies: @types/node
Credits
These definitions were written by nadhifikbarw.