itty-router
Full-featured serverless API microrouter. From 450 bytes to 1kB depending on features needed.
Deliver Tiny APIs
Ultra-small, powerful tools for modern web development. Every byte counts.
Every byte matters. Whether you're building for serverless functions, browser clients, or edge workers, bundle size directly impacts performance, costs, and user experience.
Each itty library is designed to:
While many developers are fine with memorizing established patterns, we like to ask ourselves "what are we really trying to accomplish here?" And then we do that thing, cutting out the extra steps.
Smaller code is more readable code. Extra symbols and syntax get in the way of your intent. Plus we just want to make using our libs feel good.
We all feel the shared pain of ignoring bundlesize. Web sites load more slowly, API requests take longer, and your build pipelines take longer. From every useless file in your node_modules, to every byte served to a client, it all adds up.
We take this one seriously.