
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@edgepush/sdk
Advanced tools
Official Node/TypeScript SDK for edgepush. Send push notifications to iOS and Android with a single API.
Official Node/TypeScript SDK for edgepush. Send native iOS and Android push notifications through a single API.
npm install @edgepush/sdk
# or
pnpm add @edgepush/sdk
# or
bun add @edgepush/sdk
import { Edgepush } from "@edgepush/sdk";
const client = new Edgepush({
apiKey: "io.akshit.myapp|abc123...", // from the edgepush dashboard
});
// Send a single message
const ticket = await client.send({
to: deviceToken, // APNs hex token or FCM registration token
title: "Hello",
body: "World",
data: { url: "myapp://home" },
});
// Poll the delivery receipt
const receipt = await client.getReceipt(ticket.id);
console.log(receipt.status); // "queued" | "sending" | "delivered" | "failed" | "expired"
const tickets = await client.sendBatch([
{ to: token1, title: "Hi", body: "First" },
{ to: token2, title: "Hi", body: "Second" },
]);
// Poll all receipts in a single call
const receipts = await client.getReceipts(tickets.map((t) => t.id));
The SDK is isomorphic. It works in:
import { Edgepush, EdgepushError } from "@edgepush/sdk";
try {
await client.send({ to: deviceToken, title: "Hi" });
} catch (err) {
if (err instanceof EdgepushError) {
console.error(`edgepush ${err.status}: ${err.code}`);
}
throw err;
}
MIT
FAQs
Official Node/TypeScript SDK for edgepush. Send push notifications to iOS and Android with a single API.
The npm package @edgepush/sdk receives a total of 0 weekly downloads. As such, @edgepush/sdk popularity was classified as not popular.
We found that @edgepush/sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.