← back to open source
JavaScript · MIT · v0.6.0

statelet

A tiny observable state container for vanilla JS projects that don't use a framework.

★ 97 stars⑂ 6 forksupdated 2025.09

Overview

statelet is a subscribe/publish state object, small enough to read in one sitting, used in several of the experiments on this site.

Why it exists

A handful of the interactive experiments on this site needed shared state without pulling in a framework, so this came out of that need directly.

Roadmap

  • Optional persistence adapter for localStorage

Release history

v0.6.0
2025.09.17
Added computed-value subscriptions.
v0.5.0
2025.06.02
First public release.