1.1.0 • Published 6 years ago

egg-jpush-async v1.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

egg-jpush-async

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

目前只有推送全部用户。其实写完之后,发现没有这必要,直接用官方 jpush-api-nodejs-client 的就够了!

$ npm i egg-jpush-async --save

Usage

// {app_root}/config/plugin.js
exports.jpushAsync = {
  enable: true,
  package: 'egg-jpush-async',
};

Configuration

// {app_root}/config/config.default.js
exports.jpushAsync = {
  enable: true,
  app: true,
  isDebug: true,
  appName: '123',
  appKey: '123',
  masterSecret: '123',
};

see config/config.default.js for more detail.

Example

await app.jpushAsync.sendToAll('hello world')

Questions & Suggestions

Please open an issue here.

License

MIT

1.1.0

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago