Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Netlify lambda functions (flaviocopes.com)
16 points by flaviocopes on Dec 28, 2018 | hide | past | favorite | 5 comments


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

We have over 40 functions on our main product and it’s been working really well.


Thank you! Was looking for this.


I feel that the term "lambda function" is being misused lately ...


Can you give an example of that ?

Generally « Lambda » refers to AWS Lambda , I’ve rarely seen it used another way.

Others FaaS on the market have their own name ( Azure Functions , GCloud Functions ...)

According to this article Lambda is what Netlify uses to run functions.


generally Lambda in programming languages has been another word for anonymous functions, and has been for decades, until Amazon decided it'd be fun to name a product after a general programming concept.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: