{"repo":"jeremydaly/lambda-api","free":true,"listed":false,"github":"https://github.com/jeremydaly/lambda-api","clone":"git clone https://github.com/jeremydaly/lambda-api.git","description":"Lightweight web framework for your serverless applications","language":"JavaScript","stars":1468,"topics":["api-gateway","aws-lambda","nodejs","api","webframework","serverless","serverless-applications"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Lightweight web framework for your serverless applications Lambda API is a lightweight web framework for AWS Lambda using AWS API Gateway Lambda Proxy Integration or ALB Lambda Target Support. This closely mirrors (and is based on) other web frameworks like Express.js and Fastify, but is significantly stripped down to maximize performance with Lambda's stateless, single run executions. Using AWS SDK v2? lambda-api@v1 is using AWS SDK v3. If you are using AWS SDK v2, please use lambda-api@v0.12.0. Simple Example For a full tutorial see How To: Build a Serverless API with Serverless, AWS Lambda and Lambda API. Why Another Web Framework? Express.js, Fastify, Koa, Restify, and Hapi are just a few of the many amazing web frameworks out there for Node.js. So why build yet another one when there are so many great options already? One word: DEPENDENCIES . These other frameworks are extremely powerful, but that benefit comes with the steep price of requiring several additional Node.js modules. Not only is this a bit of a security issue (see Beware of Third-Party Packages in Securing Serverless), but it also adds bloat to your codebase, filling your node modules directory with a ton of extra files. For serverless applications that need to load quickly, all of these extra dependencies slow down execution and use more memory than necessary. Express.js has 30 dependencies , Fastify has 12 , and Hapi has 17 ! These numbers don't even include their dependencies' dependencies. Lambda API shi","default_branch":null,"files":null,"tree":[],"storefront":"/r/jeremydaly","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jeremydaly/lambda-api/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}