@kazm/client-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.9 • Public • Published

Kazm Form SDK

This SDK allows a website to embed the Kazm membership experience inside of their webpage in an iframe.

Integration

The SDK can be integrated into a client's site with the following code in the site's "head" tag:

<meta name="viewport" content="initial-scale=1.0" />
<script src="https://unpkg.com/@kazm/client-sdk@latest"></script>
<script>
  const sdk = new kazm.KazmSDK();
  sdk.initializeKazmForm({
    formId: "<form-id>",
    elementId: "<element-id>",
  });
</script>

Build / deploy

The SDK is distributed via npm.

Deployment steps:

  • Update version using semantic versioning
  • npm run build:webpack
  • npm login
  • npm publish --access public

Readme

Keywords

none

Package Sidebar

Install

npm i @kazm/client-sdk

Weekly Downloads

407

Version

1.0.9

License

none

Unpacked Size

95.3 kB

Total Files

18

Last publish

Collaborators

  • danny-kazm