New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@immutabl3/lz-string

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@immutabl3/lz-string

LZ-based compression algorithm

latest
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

lz-string

LZ-based compression algorithm

A esmodule port of pieroxy/lz-string with a ton of (benchmarked) optimizations and a smaller file size

Install via npm

$ npm install @immutabl3/lz-string

Home page

Home page for this program with examples, documentation and a live demo: http://pieroxy.net/blog/pages/lz-string/index.html

Benchmark

lz-string: compress x 374 ops/sec ±1.20% (82 runs sampled)
@immutabl3/lz-string: compress x 411 ops/sec ±1.40% (83 runs sampled)
lz-string: decompress x 1,419 ops/sec ±0.21% (96 runs sampled)
@immutabl3/lz-string: decompress x 83,761,295 ops/sec ±0.26% (97 runs sampled)

Library Size

As of version 0.0.1 the payload added to your app is rather small. Served using gzip compression, lz-string will add less than 1k to your total bundle size:

minified
`~3.2kB`
gzipped
`~0.9kB`
brotli'd
`~0.8kB`

License

MIT

Keywords

lz

FAQs

Package last updated on 14 Dec 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