Skip to content
JS
Package

lz-string

LZ-based compression algorithm

v1.5.0, 4 Mar 2023MITCommonJSTypes: BundledCompression and archives
$ npm install lz-string

Key numbers

As of 25 Sept 2026
Weekly downloads
47.3m
+180% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
3 years ago
v1.5.0
GitHub stars
4.4k
568 forks
Open issues / PRs
43 / 13
Contributors
31
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60m80mSept 2025Mar 2026Sept 2026High 62.9m (25 Aug 2026)Low 10.6m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

47,329,524 downloads last week, 231,042,813 in the last month. The 12-month change of +180% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
1.5.0, 4 Mar 20233 years ago
First published
27 Oct 2013
Last push to GitHub
11 Aug 2025409 days before the snapshot
Repository archived
No
Open issues
43
Open pull requests
13
Commits, last 52 weeks
0
Dependents on npm
1,301

Major versions

  1. v1 first release 1.3.3, 27 Oct 2013

Recent releases

VersionPublished
1.5.04 Mar 2023
1.4.425 May 2015
1.4.326 Apr 2015
1.4.226 Apr 2015
1.4.123 Mar 2015
1.4.023 Mar 2015
1.3.618 Dec 2014
1.3.515 Dec 2014
1.3.327 Oct 2013
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
172 kB
Dependencies (0)
None
npm install lz-string

CDN

jsDelivr: 7m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/lz-string@1.5.0/
  • unpkghttps://unpkg.com/lz-string@1.5.0/
  • esm.shhttps://esm.sh/lz-string@1.5.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.