Skip to content
JS
Package

optimism

Composable reactive caching with efficient invalidation.

v0.18.1, 20 Nov 2024MITESM + CommonJSTypes: BundledCaching
$ npm install optimism

Key numbers

As of 25 Sept 2026
Weekly downloads
4.4m
+31% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
1 year ago
v0.18.1
GitHub stars
120
19 forks
Open issues / PRs
1 / 6
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 6.9m (21 Jul 2026)Low 1.8m (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.

4,444,100 downloads last week, 21,525,769 in the last month. The 12-month change of +31% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
070 in total
Latest version
0.18.1, 20 Nov 20241 year ago
First published
1 Oct 2016
Last push to GitHub
20 Nov 2024673 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
6
Commits, last 52 weeks
0
Dependents on npm
41

Major versions

  1. v0 first release 0.1.0, 1 Oct 2016

Recent releases

VersionPublished
0.18.120 Nov 2024
0.18.029 Nov 2023
0.17.52 Jun 2023
0.17.417 May 2023
0.17.317 May 2023
0.17.217 May 2023
0.17.129 Mar 2023
0.17.021 Mar 2023
0.16.210 Nov 2022
0.16.110 May 2021
0.16.08 May 2021
0.15.018 Mar 2021
0.14.110 Mar 2021
0.14.016 Dec 2020
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
183 kB
Dependencies (4)
tslib@wry/trie@wry/caches@wry/context
npm install optimism
  • jsDelivrhttps://cdn.jsdelivr.net/npm/optimism@0.18.1/
  • unpkghttps://unpkg.com/optimism@0.18.1/
  • esm.shhttps://esm.sh/optimism@0.18.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.