https://github.com/maxdome/mxd-lambda
Provide express like API and using middlewares for AWS Lambda
https://github.com/maxdome/mxd-lambda
Last synced: about 1 year ago
JSON representation
Provide express like API and using middlewares for AWS Lambda
- Host: GitHub
- URL: https://github.com/maxdome/mxd-lambda
- Owner: maxdome
- Created: 2016-12-30T13:44:21.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T14:30:44.000Z (over 6 years ago)
- Last Synced: 2025-04-24T10:47:10.372Z (about 1 year ago)
- Language: JavaScript
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example
```javascript
const lambda = require('mxd-lambda')(logger);
lambda.use(require('mxd-cors')());
module.exports = {
example: lambda.function('example', (req, res) => {
res.send();
}),
};
```