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

4.0.3 • Public • Published

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.

index.d.ts

/// <reference types="node" />
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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/crc32-stream

Weekly Downloads

2,635

Version

4.0.3

License

MIT

Unpacked Size

3.54 kB

Total Files

5

Last publish

Collaborators

  • types