JSPM

node-red-contrib-fcm-push-node

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 7
  • Score
    100M100P100Q35590F
  • License MIT

Node-red Node interface to Firebase Cloud Messaging (FCM) for Android and iOS

Package Exports

  • node-red-contrib-fcm-push-node

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (node-red-contrib-fcm-push-node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Firebase Cloud Messaging Push (fcm-push) Node

A simple interface to Firebase Cloud Messaging (FCM) for Android and iOS, powered by fcm-push.

It will read the payload for the following variables:

  • to: (required) [String] Device token or topic
  • collapseKey: [String] Collapse Key
  • data: [Object] Data passed
  • notification: [Object] Object with two properties title and body

It uses the environment variable FCM_SERVER_KEY for the server key configuration.

Install

Install from npm

npm install --save node-red-contrib-fcm-push-node

License

MIT