@mionkit/router
TypeScript icon, indicating that this package has built-in type declarations

0.7.2 • Public • Published

mion, a mikro kit for Typescript Serverless APIs

RPC Like router with automatic Validation and Serialization.

npm npm

@mionkit/router

🚀 Lightweight and fast HTTP router with automatic validation and serialization out of the box.

Thanks to it's Remote Procedure Call routing style is quite performant as there is no need to parse URLs or match regular expressions when finding a route. Just a direct mapping from url to the route handler.

mion's is lightweight and fast. Unlike traditional routers. The Http method is not relevant, there are no parameters in the Url and data is sent and received in JSON format via the request body or headers. mion's router leverages a simple in-memory map for route lookup, making it extremely fast.

Check Out The Website And Documentation 📚

mion-website-banner


 

MIT LICENSE

Package Sidebar

Install

npm i @mionkit/router

Homepage

mion.io/

Weekly Downloads

1

Version

0.7.2

License

MIT

Unpacked Size

370 kB

Total Files

90

Last publish

Collaborators

  • ma-jerez