This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@notifire/node
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

Notifire Node SDK

And SDK to interact with the Notifire API

Features

  • 🌈 Trigger new notifications from node
  • 📦 Easy to setup and integrate
  • 🛡 Written in TypeScript with predictable static types.

📦 Install

npm install @notifire/node
yarn add @notifire/node

🔨 Usage

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: "" 
});

TypeScript

@notifire/node is written in TypeScript with complete definitions.

🔗 Links

Readme

Keywords

none

Package Sidebar

Install

npm i @notifire/node

Weekly Downloads

1

Version

1.0.5

License

MIT

Unpacked Size

21.9 kB

Total Files

16

Last publish

Collaborators

  • novu-cliftonz
  • scopsy