Micro provides useful helpers but also handles return values, so you can write it even shorter! Micro is built for usage with async/await. Micro was created for use within containers and is not intended for use in serverless environments. For those using Vercel, this means that there is no requirement to use Micro in your projects as the benefits it provides are not applicable to the platform. Utility features provided by Micro, such as json, are readily available in the form of Serverless Function helpers. The package takes advantage of native support for async and await, which is available as of Node.js 8.0.0! In turn, we suggest either using at least this version both in development and production (if possible), or transpiling the code using async-to-gen, if you can't use the latest Node.js version. You can use Micro programmatically by requiring Micro directly.

Features

  • Designed for usage with async and await
  • Ultra-high performance (even JSON parsing is opt-in)
  • The whole project is ~260 lines of code
  • Super easy deployment and containerization
  • Oriented for single purpose modules (function)
  • No middleware, modules declare all dependencies

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow micro HTTP microservices

micro HTTP microservices Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of micro HTTP microservices!

Additional Project Details

Programming Language

JavaScript

Registered

2021-06-10