@exobase/lambda
TypeScript icon, indicating that this package has built-in type declarations

0.0.19 • Public • Published

@exobase/lambda

Exobase root hook to handle function running on AWS Lambda. Built to support invocation from api gateway

Install

yarn add @exobase/lambda

Usage

import _ from 'radash'
import type { Props } from '@exobase/core'
import { useLambda } from '@exobase/lambda'

export const pingEndpoint = async (props: Props) => {
  return {
    message: 'pong'
  }
}

export default _.compose(
  useLambda(),
  pingEndpoint
)

Readme

Keywords

none

Package Sidebar

Install

npm i @exobase/lambda

Weekly Downloads

2

Version

0.0.19

License

MIT

Unpacked Size

11.5 kB

Total Files

11

Last publish

Collaborators

  • rayepps