Files
..
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30
2026-08-19 12:04:44 +05:30

@notifkit/provider-fcm

Firebase Cloud Messaging push transport for notifkit. Delivers to FCM registration tokens and reports invalid ones back so notifkit can deactivate them.

npm install @notifkit/provider-fcm
import { FcmTransport } from "@notifkit/provider-fcm";

registry.register(
  "push",
  new FcmTransport({
    serviceAccountJson: process.env.FCM_SERVICE_ACCOUNT_JSON!,
  }),
);

Requires notifkit as a peer dependency and a Firebase service account. Documentation: notifkit.dev/docs. MIT licensed.