Marcel Soubkovsky - Logo

Selected project

l-storage

Type-safe localStorage wrapper with a built-in way to inspect stored keys.

Made browser state persistence easier to debug and validate.

Year

2025

Role

Library author

Focus

TypeScriptZodstate
l-storage npm library

Technologies & Tools

TypeScriptZod

Tasks

Full developmentDocumentation

Context

Local storage management is one of those things that sounds simple until you actually have to debug it. Where is a key being set? What is the current value? Is the stored data even valid anymore?

What I Built

l-storage is a type-safe localStorage wrapper that lets you view keys directly from the app instead of digging through DevTools. I used Zod for runtime validation and TypeScript for inference, which kept the developer experience safe without adding a lot of ceremony.

What I Am Proud Of

I built it because I was tired of opening DevTools every time I wanted to inspect localStorage. The result is a small utility that makes browser state much easier to understand at a glance.

This is also my second npm package, and I still like that part of the story: useful code, proper documentation, and something other developers can actually adopt.