4 ms·
If you get in much deeper than just a couple of functions, I highly recommend using Middy. It acts as a ‘sort of’ middleware, which makes it much easier to writ
by thomasedwards 8y ago
If you get in much deeper than just a couple of functions, I highly recommend using Middy. It acts as a ‘sort of’ middleware, which makes it much easier to write reusable stuff and comes with its own often-used middleware, such as converting the body from JSON to an object.
https://github.com/middyjs/middy https://github.com/middyjs/middy
We have over 40 functions on our main product and it’s been working really well.
- moltar 8y agoThank you! Was looking for this.