Minified build
pio-0.2.1.min.js · 8.8KB
Production-ready. Drop it straight into a <script>
tag — this is what the README's install snippet points at.
{ developer tools / psyn-app/pio }
Persistent Input/Output. A dependency-free JavaScript library that automatically saves and restores form state as people type — zero config, privacy-first, everything kept local in the browser. Grab a build below, no GitHub account or clone required.
{ downloads }
Three ways to grab it, depending on what you need.
pio-0.2.1.min.js · 8.8KB
Production-ready. Drop it straight into a <script>
tag — this is what the README's install snippet points at.
pio-0.2.1.js · 17.4KB
Same compiled output, not minified — readable in dev tools, easier to step through when debugging.
pio-0.2.1.ts · 25.6KB
The actual source file, fully typed and commented. Bring your own bundler, or read it to see how it works.
MIT-licensed. Download LICENSE.txt — or read the source on GitHub ↗ if you want history, issues, or to contribute.
{ quick start }
// 01 — include it
<script type="module" src="pio-0.2.1.min.js"></script>
// 02 — mark fields stateful
<input type="text" stateful placeholder="This value persists!" />
<textarea stateful rows="4"></textarea>
// 03 — that's it
PIO detects stateful elements, saves their values
as people type, and restores them on reload — all stored
locally in the browser via the File System Access API.