open-index/open-npm huggingface dataset:
npm package: @partechgss/node-heatshrink
Description: [Heatshrink](https://github.com/atomicobject/heatshrink/tree/develop)'s [Rust implementation](https://crates.io/crates/heatshrink) binding library using `napi-rs`.
Latest version: 1.2.2

# Heatshrink compression for Node.js

[Heatshrink](https://github.com/atomicobject/heatshrink/tree/develop)'s [Rust implementation](https://crates.io/crates/heatshrink) binding library using `napi-rs`.

## Usage

```typescript
export function encodeSync(input: Buffer, windowSize: number, lookaheadSize: number): Buffer
export function decodeSync(input: Buffer, windowSize: number, lookaheadSize: number): Buffer
export function encode(input: Buffer, windowSize: number, lookaheadSize: number, signal?: AbortSignal | undefined | null): Promise<Buffer>
export function decode(input: Buffer, windowSize: number, lookaheadSize: number, signal?: AbortSignal | undefined | null): Promise<Buffer>
```

where:

1. `encode()` and `encodeSync()` are for compression; `decode()` and `decodeSync()` are for decompression.
2. `windowSize` can be 8-11, `lookaheadSize` is recommended to be the half of, or slightly less than half of the `windowSize`. 

## License

MIT
npm package: @partechgss/node-heatshrink-linux-x64-gnu
Description: This is the **x86_64-unknown-linux-gnu** binary for `node-heatshrink`
Latest version: 1.2.2

# `node-heatshrink-linux-x64-gnu`

This is the **x86_64-unknown-linux-gnu** binary for `node-heatshrink`
npm package: @partechgss/node-heatshrink-linux-x64-musl
Description: This is the **x86_64-unknown-linux-musl** binary for `node-heatshrink`
Latest version: 1.2.2

# `node-heatshrink-linux-x64-musl`

This is the **x86_64-unknown-linux-musl** binary for `node-heatshrink`
npm package: @partechgss/node-heatshrink-win32-x64-msvc
Description: This is the **x86_64-pc-windows-msvc** binary for `node-heatshrink`
Latest version: 1.2.2

# `node-heatshrink-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `node-heatshrink`
npm package: @partechgss/partechgss-heatshrink-linux-x64-gnu
Description: This is the **x86_64-unknown-linux-gnu** binary for `node-heatshrink`
Latest version: 1.2.0

# `node-heatshrink-linux-x64-gnu`

This is the **x86_64-unknown-linux-gnu** binary for `node-heatshrink`
npm package: @partechgss/partechgss-heatshrink-linux-x64-musl
Description: This is the **x86_64-unknown-linux-musl** binary for `node-heatshrink`
Latest version: 1.2.0

# `node-heatshrink-linux-x64-musl`

This is the **x86_64-unknown-linux-musl** binary for `node-heatshrink`
npm package: @partechgss/partechgss-heatshrink-win32-x64-msvc
Description: This is the **x86_64-pc-windows-msvc** binary for `node-heatshrink`
Latest version: 1.2.0

# `node-heatshrink-win32-x64-msvc`

This is the **x86_64-pc-windows-msvc** binary for `node-heatshrink`