node-gcm

Note: This package will stop working on June 21st, 2024, as it depends on the Legacy FCM API. We urge you to migrate to another library that supports the FCM HTTP v1 API before the June 20th deadline, such as:
- firebase-admin (official library)
- fcm-v1-http2 (if scale and throughput are important to your sending requirements)
The goal of this project is providing the best and most easily used interface for Firebase Cloud Messaging. (The name gcm comes from the older name for the service, Google Cloud Messaging.)
By April 11, 2019 users must have migrated from GCM to FCM.
If you are using this library, we've already got you covered on the server side (since version 0.14.1) --- just update to the most recent version and you are good.
We appreciate all the help we can get!
If you want to help out, check out the Guidelines for Contributing section.
If you are developing an open-source project with a broader scope (like a full Firebase suite), we would love for you to use node-gcm internally.
See the official FCM documentation for more information.
We are currently working on version 2.0.0 of the project, and it is available in an early alpha version.
Follow PR #238 to see current status.
Installation
$ npm install node-gcm --save