Psatina: the sprinkle-oriented JavaScript library

April 16, 2026
Vibrant cupcakes with 'Pride' letters, perfect for Pride Month celebrations.
Photo by Georgie Devlin on Pexels

What it is

Psatina is a tiny JavaScript library for "sprinkling" dynamic behavior on top of server-rendered templates. It has been reported that the minified Brotli-compressed build is about 1.6 KB (psatina.min.js.br) — small enough that you can paste the minified code straight into an HTML file. The project’s author reportedly built it for leisure, not for speed, and that shows in the design: focused, playful, and deliberately tiny. Who doesn’t love a tool that does one thing well?

How it works

Drop the minified script into your page and use a