Lambda Responses
Simple library to help with lambda responses.
- Note: This tool was build to be used internally but wanted to make it available to others if needed.
- Credit: https://github.com/AnomalyInnovations/serverless-stack-demo-api
Success
Call the success function to return the 200 response.
const success = ; return ;
Failure
Call the failure function to return the 500 response.
const failure = ; return ;
Not Found
Call the notFound function to return the 500 response.
const notFound = ; return ;