2.0.3 • Published 6 months ago

@types/lzbase62 v2.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

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

// Type definitions for lzbase62 2.0
// Project: https://github.com/polygonplanet/lzbase62
// Definitions by: ArthurKa <https://github.com/ArthurKa>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

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: Wed, 03 Nov 2021 21:01:25 GMT
  • Dependencies: none
  • Global values: none

Credits

These definitions were written by ArthurKa.

2.0.3

6 months ago

2.0.2

7 months ago

2.0.1

9 months ago

2.0.0

3 years ago