Skip to content

Latest commit

 

History

History
 
 

node

Read here our plans for the upcoming weeks.

Notification management simplified.

The ultimate library for managing multi-channel notifications with a single API.


Explore the docs »

Report Bug · Request Feature · Read our blog

⭐️ Why

Building a notification system is hard, at first it seems like just sending an email but in reality it's just the beginning. In today's world users expect multi channel communication experience over email, sms, push, direct and more... An ever growing list of providers are popping up each day, and notifications are spread around the code. Novu's goal is to simplify notifications and provide developers the tools to create meaningful communication between the system and it's users.

✨ Features

  • 🌈 Single API for all messaging providers (Email, SMS, Push, Direct)
  • 💅 Easily manage notification over multiple channels
  • 🚀 Equipped with a templating engine for advanced layouts and designs
  • 🛡 Built-in protection for missing variables
  • 📦 Easy to set up and integrate
  • 🛡 Written in TypeScript with predictable static types.
  • 👨‍💻 Community driven

📦 Install

npm install @novu/node
yarn add @novu/node

🔨 Usage

import { Novu } from '@novu/node';

const novu = new Novu(process.env.NOVU_API_KEY);

await novu.trigger('<REPLACE_WITH_EVENT_NAME_FROM_ADMIN_PANEL>',
  {
    to: {
      subscriberId: '<USER_IDENTIFIER>',
      email: '[email protected]',
      firstName: 'John',
      lastName: 'Doe',
    },
    payload: {
      organization: {
        logo: 'https://evilcorp.com/logo.png',
      },
    },
  }
);

Providers

Novu provides a single API to manage providers across multiple channels with a single to use interface.

💌 Email

📞 SMS

📱 Push (Coming Soon...)

  • Pushwoosh
  • SNS

👇 Direct (Coming Soon...)

  • Slack
  • MS Teams
  • Discord
  • Mattermost

📱 In-App (Coming Soon...)

  • Novu
  • MagicBell

Other (Coming Soon...)

  • PagerDuty

🔗 Links