New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tsnobip/reason-lambda

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsnobip/reason-lambda

Bucklescript bindings for AWS lambda handlers (v1 and v2)

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Reason-Lambda

reason-lambda is a set of bindings for AWS Lambda handlers. It makes use of Bucklescript 7 representation of records as JS objects. It includes bindings for both v1 and v2 of lambda payloads.

Install

yarn add @tsnobip/reason-lambda

And add @tsnobip/reason-lambda to the bs-dependencies of bsconfig.json.

Usage

open ReasonLambda.V2;
type greetings = {greetings: string};
let handler: handler =
  (_event, _context) =>
    {greetings: "Hello world!"}->Response.fromBody->Js.Promise.resolve;

You can see a working example with the Serverless framework here.

Keywords

FAQs

Package last updated on 23 Jun 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc