lzw-compressor

🗜️ LZW compressor module from Glize library.

Showing:

Popularity

Downloads/wk

9.7K

GitHub Stars

7

Maintenance

Last Commit

3d ago

Contributors

2

Package

Dependencies

1

Size (min+gzip)

0.5KB

License

Apache-2.0

Type Definitions

Built-In

Tree-Shakeable

No?

Categories

Readme

LZW Compressor Tweet

Build Status License NPM version Website NPM downloads

LZW compressor module from Glize library.

Usage

npm install lzw-compressor --save
import { compress, decompress } from 'lzw-compressor';

/**
 * Compress data string using LZW lossless data compression algorithm.
 * @param {string} str Data to compress.
 * @return {string} Returns compressed data.
 */
const encoded = compress(input);

/**
 * Decompress data string compressed with the LZW algorithm.
 * @param {string} str Data to compress.
 * @return {string} Returns compressed data.
 */
const decoded = decompress(encoded);

For more information please visit Glize project page.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100
No reviews found
Be the first to rate

Alternatives

No alternatives found

Tutorials

No tutorials found
Add a tutorial