@kazm/client-sdk
v1.0.9
Published
This SDK allows a website to embed the Kazm membership experience inside of their webpage in an iframe.
Downloads
1,336
Readme
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