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

pingram

Package Overview
Dependencies
Maintainers
2
Versions
298
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pingram

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

latest
Source
npmnpm
Version
1.0.5
Version published
Weekly downloads
2.3K
-47.73%
Maintainers
2
Weekly downloads
 
Created
Source

Pingram Node SDK (Server-side)

npm version License: MIT

A fully-typed TypeScript SDK for Pingram (formerly NotificationAPI).

Installation

Production (latest stable)

npm install pingram

Usage

Basic Setup

Import and initialize the client:

import { Pingram } from 'pingram';

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

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

const apiClient = new Pingram({
  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

pingram

FAQs

Package last updated on 01 Apr 2026

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