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

2.0.3 • Public • Published

Installation

npm install --save @types/lzbase62

Summary

This package contains type definitions for lzbase62 (https://github.com/polygonplanet/lzbase62).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lzbase62.

index.d.ts

interface DataOption {
    onData(data: string): void;
}
interface EndOption {
    onEnd(): void;
}
interface Options extends DataOption, EndOption {}

interface LZ62 {
    version: string;

    compress(data: string, options: Options | DataOption): "";
    compress(data: string, options?: Partial<Options>): string;

    decompress(data: string, options: Options | DataOption): "";
    decompress(data: string, options?: Partial<Options>): string;
}

declare const lzbase62: LZ62;
export = lzbase62;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by ArthurKa.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/lzbase62

Weekly Downloads

603

Version

2.0.3

License

MIT

Unpacked Size

3.52 kB

Total Files

5

Last publish

Collaborators

  • types