1.0.0 • Published 3 years ago
@kznjunk/paperboy-fcm v1.0.0
Paperboy FCM
Requirements
todo
How?
const fcmConfig = require('./config.json')
const { sendFcm } = require('@kznjunk/paperboy-fcm')(fcmConfig)
const topic = 'bwop'
const title = 'Hello..'
const body = '..there!'
const res = await sendFCM(topic, title, body)
console.log(res) // projects/example/messages/000000000000108
1.0.0
3 years ago