@beekai/vanilla
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

logo

beekai-vanilla

This library contains utility functions to work with BEEKAI

Install

npm i @beekai/vanilla

Usage

The following are the methods exported from the package.

  • submit
import { submit } from '@beekai/vanilla';

submit({
  formId: 'AAAA-BBBB-CCCC-DDDD', // BEEKAI form applicaiton id
  data: {}, // form data
});
  • validateSignature
import { validateSignature } from '@beekai/vanilla';

function (req, res) {
  const isValidToken: boolean = validateSignature({
    req,
    token,
  })
}

Readme

Keywords

none

Package Sidebar

Install

npm i @beekai/vanilla

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

23.1 kB

Total Files

6

Last publish

Collaborators

  • bluebill1049