Novu’s Typescript SDK provides simple, yet comprehensive notification management, and delivery capabilities through multiple channels that you can implement using code. It integrates seamlessly with your Node.js, Bun, Deno, and Cloudflare Workers applications.
Explore the source code on GitHub
Installation#
Usage#
Point the SDK at your self-hosted API by passing serverURL. Do not append /v1 - the SDK adds the API version automatically.
If you use Novu Cloud (US default), omit serverURL entirely - the SDK points to https://api.novu.co.
Sending custom header#
To send custom headers, you can use the HTTPClient class. Read more on how to configure custom http client.