A curated collection of micro-utilities for the web.
Each one solves exactly one frontend problem —
perfectly, with zero dependencies.
No feature creep. No "while we're at it."
Each utility does exactly one thing
and does it better than a 5-minute
StackOverflow copy-paste ever could.
No lodash. No moment. No anything.
You install the package — not the package
plus a hundred transitive dependencies
you didn't ask for.
TypeScript-first. ESM + CJS output.
Every package works in React, Vue,
Svelte, vanilla JS, and anywhere
else you're building.
The latest package in the collection.
Reliable vh/vw on mobile — injects CSS variables
that match the real visible viewport.
One import. Works everywhere.
// 1. Install npm install viewport-units-fix // 2. Import & init import ViewportUnitsFix from 'viewport-units-fix'; new ViewportUnitsFix(); // 3. Use in CSS // .hero { height: calc(var(--vh) * 100); } // .sidebar { height: var(--dvh); } // With options ✦ const vf = new ViewportUnitsFix({ prefix: 'app-', debounce: 50, onUpdate: (v) => console.log(v.dvh), });