open-index/open-npm huggingface dataset:
npm package: @spiceshq/web-sdk
Description: This is the official Spices JavaScript Web SDK.
Latest version: 0.0.3

# Spices JavaScript SDK

## Install

```
npm add @spiceshq/web-sdk
```

## Usage

```js
import * as Spices from "@spiceshq/web-sdk";

Spices.init({
  appId: "00000000-0000-0000-0000-000000000000",
  target: document.getElementById("app"),
  payload: {
    email: 'adam.johnson22@gmail.com',
    phone: '1234567890',
  },
});
```

## Advanced Usage

Please visit our [official docs](https://spices.readme.io/docs/configuration).

## Requirements

In order to use the SDK, a Spices account is required. [Learn more.](https://spices.readme.io/docs/get-started-with-spices)