@spiceshq/web-sdk
v0.0.3
Published
This is the official Spices JavaScript Web SDK.
Downloads
9
Maintainers
Readme
Spices JavaScript SDK
Install
npm add @spiceshq/web-sdk
Usage
import * as Spices from "@spiceshq/web-sdk";
Spices.init({
appId: "00000000-0000-0000-0000-000000000000",
target: document.getElementById("app"),
payload: {
email: '[email protected]',
phone: '1234567890',
},
});
Advanced Usage
Please visit our official docs.
Requirements
In order to use the SDK, a Spices account is required. Learn more.