And SDK to interact with the Notifire API
- 🌈 Trigger new notifications from node
- 📦 Easy to setup and integrate
- 🛡 Written in TypeScript with predictable static types.
npm install @notifire/node
yarn add @notifire/node
import { Notifire } from '@notifire/node';
const notifire = new Notifire(process.env.NOTIFIRE_API_KEY);
await notifire.trigger('<REPLACE_WITH_EVENT_NAME>', {
$user_id: "<USER IDENTIFIER>",
$email: "<USER_EMAIL>",
customAttribute: "", // use the custom attribute from each event here
firstName: ""
});
@notifire/node
is written in TypeScript with complete definitions.