npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@notibase/node

v0.6.0

Published

Notibase server SDK — send push, email and SMS, manage users and read delivery from Node.js

Downloads

825

Readme

@notibase/node

Official Node.js SDK for Notibase. Send push notifications to the web, iOS and Android, plus email and SMS, to one audience through one idempotent API.

npm install @notibase/node

Coming from OneSignal, or straight from Firebase

Notibase is an alternative to OneSignal, and the device-side model is the same shape: register a token, identify the person behind it, tag them, send to a segment. Most of a port is renaming calls. What is arranged differently is that push, in-app messages, an in-app inbox, email and SMS are one audience and one API here rather than several products with separate lists.

It is not an alternative to Firebase Cloud Messaging, and does not try to be. On Android you keep firebase_messaging and hand us the token: FCM delivers, and Notibase decides who to deliver to — then carries the same campaign to iOS, the web, an inbox, an email and a text without you writing any of it a second time.

import { Notibase } from "@notibase/node";

const nb = new Notibase(process.env.NOTIBASE_KEY); // sk_live_...

// Send (idempotent by default — retries can never double-notify)
const { id, report } = await nb.messages.send({
  audience: { filter: { attr: "country", op: "in", value: ["NP", "IN"] } },
  content: { title: "Hello {{first_name | default: 'there'}} 👋", url: "https://…" },
});

// Debug any send: per-device timeline with raw provider responses
const { deliveries } = await nb.messages.deliveries(id);

// Profiles & targeting
await nb.users.upsert({ external_id: "user-42", country: "NP", properties: { plan: "pro" } });
const { count } = await nb.segments.preview({ attr: "properties.plan", op: "eq", value: "pro" });

// Events only your backend knows about — the ones worth automating on,
// and the ones a client cannot be trusted to report.
await nb.events.track({ name: "payment_settled", properties: { plan: "pro" } });

// "9 AM wherever they are." One scheduled job per UTC offset your audience
// keeps, so the cost is bounded by the world's clocks and not by your list.
const r = await nb.messages.send({
  audience: { all: true },
  content: { title: "Good morning" },
  localTime: "09:00",
});
r.zone_groups;      // how many jobs
r.groups_tomorrow;  // zones whose 09:00 has gone, so they run tomorrow

Identity verification

Stop anyone from impersonating your users with the public client key:

import { signIdentify } from "@notibase/node";
// on YOUR server:
const signature = signIdentify(process.env.NOTIBASE_IDENTIFY_SECRET, userId);
// hand `signature` to your frontend → nb.identify(userId, { signature })

Server keys (sk_*) belong on servers only. The constructor refuses client keys (ck_*) — those go in browsers/apps with @notibase/web.

Changelog

CHANGELOG.md.

MIT © Notibase