{"repo":"vandium-io/vandium-node","free":true,"listed":false,"github":"https://github.com/vandium-io/vandium-node","clone":"git clone https://github.com/vandium-io/vandium-node.git","description":"AWS Lambda framework for building functions using Node.js for API Gateway, IoT applications, and other AWS events.","language":"JavaScript","stars":383,"topics":["aws-lambda","api-gateway","jwt","iot","lambda","serverless"],"license":"BSD-3-Clause","category":"auth-billing-email","readme_excerpt":"AWS Lambda framework for building functions using Node.js for API Gateway, IoT applications, and other AWS events. Features Simplifies writing lambda handlers Automatically verifies event types Powerful input validation Works with Serverless JSON Web Token (JWT) verification and validation JWK support for retrieving keys at startup Automatic loading of environment variables from SSM Parameter Store Cross Site Request Forgery (XSRF) detection when using JWT SQL Injection (SQLi) detection and protection Lambda Proxy Resource support for AWS API Gateway Handler initialization for allocating resources Post handler execution to allow deallocation of resources Forces values into correct types Handles uncaught exceptions Promise support Automatically trimmed strings for input event data Low startup overhead AWS Lambda Node.js 12.x Installation Install via npm. npm install vandium --save Getting Started Vandium creates event specific handlers to reduce the amount of code than one needs to maintain. The following handler code will respond with a message when executed using the AWS API Gateway with a GET request: The framework can process asynchronous responses using promises. The following code returns a User object from a datastore asynchronously: Additionally, resources can be closed at the end, success or failure, of the handler. Failure to close resources might cause the lambda function to timeout or run for longer than is required. The following code demonstrates closing a cache ","default_branch":null,"files":null,"tree":[],"storefront":"/r/vandium-io","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/vandium-io/vandium-node/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."}