The “Magic” Middleware
Instead of manually parsing buffers, simply attach this middleware. It detectsapplication/x-zon requests and automatically efficiently wraps the body.
zon-middleware.js
Usage
app.js
Drop-in Middleware for Express.
application/x-zon requests and automatically efficiently wraps the body.