
micro
A tiny library for building small async HTTP services in Node.js.
- Stars
- 10.6k
- Forks
- 451
- Licence
- MIT
- Language
- TypeScript
- Last update
- 6 months ago
- Type
- Library
What it is
Micro is a small Node.js library from Vercel for writing HTTP microservices using async and await. It focuses on handling requests and returning responses with very little setup. The README provided here is truncated, so details beyond that core purpose are not confirmed.
- Write a small HTTP endpoint that returns JSON from an async function
- Split a larger backend into separate small services
- Deploy a single-purpose API function on Vercel
Great for
- Developers who want a minimal HTTP service in Node.js
- Teams building small single-purpose endpoints or microservices
- People already familiar with async/await in JavaScript or TypeScript
Not ideal for
- Beginners looking for a full web framework with routing, templates, and many built-in features, since the README excerpt does not describe those
- Projects that need a long-running, feature-rich server with a large plugin ecosystem, since this excerpt does not show one
How to get it
- 1
Install with a package manager
You'll need: Node.js
Clone the repository
git clone https://github.com/vercel/micro - 2
Run it
- Install Node.js
- Clone the repository or add the micro package to a project
- Write an async request handler following the packages/micro README
- Run the handler locally with Node.js and send it a test request
- 3
Get the most out of it
- Read the packages/micro README for the handler signature and options
- Pair with Vercel deployment if you want serverless hosting
- Use TypeScript types included in the TypeScript-based codebase
Downloads
Strengths
- Small, focused scope centered on async HTTP handlers
- MIT licensed and open source
- Backed by the Vercel organization and has a large star count on GitHub
Trade-offs
- The README excerpt is truncated, so setup and API details could not be verified here
- Its scope is narrow, so you may need other libraries for routing, middleware, or databases
- Latest release info shows no binaries, so use is through the code or package manager
How it compares
| Project | Stars | Type | Level | Updated | Best for |
|---|---|---|---|---|---|
| micro (this) | 10.6k | Library | intermediate | 6 months ago | Developers who want a minimal HTTP service in Node.js |
| express | 69.6k | Framework | intermediate | 4 days ago | Developers building JavaScript or Node.js back-end servers |
| fastify | 37.3k | Library | beginner | 4 days ago | Node.js developers building JSON APIs or backend services |
| koa | 35.7k | Library | intermediate | 4 days ago | Node.js developers who want a minimal web framework they can shape themselves |
| hono | 32.8k | Library | beginner | 5 days ago | Developers writing TypeScript or JavaScript HTTP APIs |
| fastapi | 105k | Library | beginner | 4 days ago | Python developers building JSON APIs or back-end services |
Stats synced from GitHub. The assessment above was drafted with AI from the project's README on 2026-10-29 and may miss recent changes — check the README before relying on a command. MIT licence: free to use, modify and distribute, including commercially, as long as you keep the copyright notice.