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

You Might Also Like
Red Hat Ansible Automation Platform on Microsoft Azure Icon
Red Hat Ansible Automation Platform on Microsoft Azure

Red Hat Ansible Automation Platform on Azure allows you to quickly deploy, automate, and manage resources securely and at scale.

Deploy Red Hat Ansible Automation Platform on Microsoft Azure for a strategic automation solution that allows you to orchestrate, govern and operationalize your Azure environment.
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