1.0.0 • Published 3 years ago

@kznjunk/paperboy-fcm v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

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