lambda-api icon indicating copy to clipboard operation
lambda-api copied to clipboard

Lightweight web framework for your serverless applications

Results 86 lambda-api issues
Sort by recently updated
recently updated
newest added

Is it possible to trigger additional, global middle-ware after routes have been run? For instance, if I wanted to inspect all response bodies for certain properties, and alter the response...

The wrong type of Request.cookies in `index.d.ts`. it should be `string` instead of `CookieOptions` ;

I would be great if we could add decorators to methods and params in order to export API documentation. I've founded this package: https://github.com/TypedProject/ts-express-decorators/tree/master/packages/swagger which is for TS.ed (express TS...

Hi, I'm working creating a redis cache middleware for our lambda-api layer. I need to cache the responde after it's processed, so after the next() method. I saw lots of...

Currently we can set headers using `res.header(key, value)` however a lot of Express middleware, ex. Helmet, use `res.setHeader(key, value)`. Adding a `setHeader` alias would allow these types of middleware to...

enhancement

Either I'm missing something in the documentation (very likely), or middleware does not trigger for root paths. I've tried both GET and POST. Example code ```javascript const lambdaApi = require('lambda-api');...

In a scenario where you use a base path and define a set of routes using `api.register()` without a prefix it will work... once. If you copy that `api.register()` line...

In the use method you are using a rest operator to pull all parameters into an array for processing. However, when processing the middleware you are using for-in: https://github.com/jeremydaly/lambda-api/blob/master/index.js#L347 As...

bug

Add support for other web framework middleware.

enhancement

I've run some preliminary speed test and I've been consistently clocking Lambda functions running Lambda API at less that 0.68 ms for total execution time. This is will several configured...

help wanted