Ross ROSS = Recommend OSS · open-source software intelligence for agents

pieroxy/lz-string

LZ-based compression algorithm for JavaScript observed · 2026-08-28

github.com/pieroxy/lz-string · TypeScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

39/100

  • Activity 36
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 4865
  • days_rel: n/a
  • days_push: 387
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

4429 stars · 568 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded

A JavaScript/TypeScript library implementing an LZ-based compression algorithm optimized for strings, with multiple output encodings (UTF16, base64, URI-safe, Uint8Array). It also ships a CLI for compressing and decompressing files and has ports to many other languages.

Use cases

  • compress large strings before storing them in localStorage
  • shrink JSON payloads sent from client to server
  • compress data into URL-safe strings
  • compress files from the command line
  • decompress data produced by lz-string ports in other languages

When to choose

  • you need fast, dependency-free string compression in JavaScript or the browser
  • you want to compress data for localStorage, URLs, or small payloads
  • you need a simple CLI for lz-string compression

When to avoid

  • you need maximum compression ratios on large binary files (use gzip, zstd, or brotli)
  • you need cross-language compatibility without verifying port behavior
  • you are compressing data where a standard format is required

Facets

library · maturity stable

compression serialization cli developer-tools files web-development browser cli cross-platform lz-compression string-compression javascript typescript nodejs

2 sources

Member repositories

RepositoryRoleHealth v2
pieroxy/lz-stringmain39

For agents

markdown · JSON · MCP: product_card(name="pieroxy/lz-string")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem