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
Run applications fast and securely in a fully managed environment Icon
Run applications fast and securely in a fully managed environment

Cloud Run is a fully-managed compute platform that lets you run your code in a container directly on top of scalable infrastructure.

Run frontend and backend services, batch jobs, deploy websites and applications, and queue processing workloads without the need to manage infrastructure.
Try for 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