Skip to content
Resume
All work

Case study · NPM package

MasalaCSS

A utility-first CSS runtime that generates styles on the fly from class names — no build step, no config. Drop in one script tag and start writing.

Role
Creator & maintainer
Year
2025
Status
Live · 100+ weekly downloads
Type
NPM package

Overview

MasalaCSS is a utility-first CSS runtime published on npm with 100+ weekly downloads. It reads class names in the browser and generates the matching styles on the fly, so there is no build step and no config file.

Problem

Utility-first CSS usually needs a compiler, a config file and a build pipeline. That is overkill for prototypes, CodePens, static pages and teaching.

Approach

A single script tag observes the DOM, parses class names into style rules, and injects only the CSS that is actually used. Parsing is cached per class, so repeated classes cost nothing.

Outcome

Published on npm and used by 100+ developers every week.

Stack

  • JavaScript
  • CSS
  • npm

Contact

Let’s build something thoughtful.

Open to internships and freelance work. Email is the fastest way to reach me — I usually reply within a day.