

Technologies & Tools
Tasks
The Problem
Local storage management is one of those things that sounds simple until you actually have to debug it. Where is this key being set? What's the current value? Is this data even valid anymore?
The Solution
l-storage is a type-safe localStorage wrapper that lets you view all your keys anywhere in the app. Need to access or change something? Click, done. It uses Zod for runtime validation and TypeScript for automatic type inference, so you get safety without the ceremony.
Why I Built It
I got tired of opening DevTools every time I needed to inspect localStorage. This library makes it visible and manageable from your app itself, not just the browser debugger.
Published
This is my second npm package. There's something satisfying about publishing something useful, writing the documentation, and knowing other developers might find it helpful too.