1.0.2 • Published 1 year ago

@buttonize/toolkit v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Buttonize is a low-code paltform which enables cloud developers to create UI widgets like buttons, inputs, forms etc. connected to the cloud services like AWS Lambda, AWS Step Functions, AmazonDynamoDB and more.

This package contains TypeScript type definition for your lambda function handlers and other DX utilities.

Getting started

Installation

$ pnpm i -D @buttonize/toolkit
$ npm i -D @buttonize/toolkit

Example

You can find more examples in the Buttonize AWS CDK constructs repository.

// Lambda function handler file

import { ButtonizeHandler } from '@buttonize/toolkit'

export const handler: ButtonizeHandler<{
  email: string
  isAdmin: string
}> = async (event) => {
  console.log('save new user to database')

  return {
    format: 'text',
    body: 'User created.'
  }
}

Buttonize Docs

Learn more at docs.buttnoize.io


Join our community Discord | Twitter

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago