New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@notificationapi/node

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@notificationapi/node

Official Node.js SDK for NotificationAPI - Send notifications via Email, SMS, Push, In-App, and more

latest
Source
npmnpm
Version
0.0.2-alpha.1
Version published
Maintainers
2
Created
Source

NotificationAPI Node SDK (Server-side)

npm version License: MIT

A fully-typed TypeScript SDK for NotificationAPI.

Installation

Production (latest stable)

npm install @notificationapi/node

Usage

Basic Setup

Import and initialize the client:

import { NotificationAPIClient } from '@notificationapi/js';

// Server-side: Secret Key (Bearer token)
const apiClient = new NotificationAPIClient({
  apiKey: 'pingram_sk_...'
});

For connecting to Canada or EU regions, set the region option:

const apiClient = new NotificationAPIClient({
  apiKey: 'pingram_sk_...',
  region: 'eu'
});

Send

await apiClient.send({
  type: 'otp',
  to: {
    id: 'user123',
    email: 'user@example.com',
    number: '+15005550006'
  },
  email: {
    subject: 'Hello',
    html: '<h1>Hello, world!</h1>'
  },
  sms: {
    message: 'Hello, world!'
  }
});

License

MIT

Contributing

Contributions are welcome! Please read our contributing guidelines before submitting a pull request.

Keywords

notificationapi

FAQs

Package last updated on 29 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts