Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

lzw-compressor

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lzw-compressor

LZW compressor module from Glize library.

latest
Source
npmnpm
Version
21.6.5
Version published
Weekly downloads
16K
2.8%
Maintainers
1
Weekly downloads
 
Created
Source

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.

Keywords

lzw-compressor

FAQs

Package last updated on 29 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts