@fiscalo/js
v2.1.0
Published
Novu JavaScript SDK for <Inbox />
Readme
Novu's JavaScript SDK
The @novu/js package provides a JavaScript SDK for building custom inbox notification experiences.
The package provides a low-level API for interacting with the Novu platform In-App notifications.
Installation
Install @novu/js npm package in your app
npm install @novu/jsGetting Started
Add the below code in your application
import { Novu } from '@novu/js';
const novu = new Novu({
applicationIdentifier: 'YOUR_NOVU_APPLICATION_IDENTIFIER',
subscriber: 'YOUR_INTERNAL_SUBSCRIBER_ID',
});
const { data: notifications, error } = await novu.notifications.list();| Info: you can find the applicationIdentifier in the Novu dashboard under the API keys page.
