@caredoc/notification
Caredoc notification classes
Last updated 18 days ago by fifthsage .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install @caredoc/notification 
SYNC missed versions from official npm registry.

notification

Usage

import {PushService, SlackService} from '@caredoc/notification';

// PUSH
admin.initializeApp({...});
const pushService = new PushService();
await pushService.sendNotification(message);

// SLACK
const pushService = new SlackService(API_TOKEN);

await pushService.sendNotification(
    channel,
    message,
);

Current Tags

  • 1.0.20                                ...           latest (18 days ago)

18 Versions

  • 1.0.20                                ...           18 days ago
  • 1.0.19                                ...           21 days ago
  • 1.0.16                                ...           a month ago
  • 1.0.15                                ...           3 months ago
  • 1.0.14                                ...           3 months ago
  • 1.0.13                                ...           3 months ago
  • 1.0.12                                ...           4 months ago
  • 1.0.11                                ...           4 months ago
  • 1.0.10                                ...           4 months ago
  • 1.0.9                                ...           4 months ago
  • 1.0.8                                ...           4 months ago
  • 1.0.7                                ...           4 months ago
  • 1.0.6                                ...           4 months ago
  • 1.0.5                                ...           4 months ago
  • 1.0.4                                ...           4 months ago
  • 1.0.3                                ...           4 months ago
  • 1.0.2                                ...           4 months ago
  • 1.0.1                                ...           4 months ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 39
Dependencies (12)
Dev Dependencies (20)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |