Neck Protection Mandate

    egg-jpush

    1.0.0 • Public • Published

    egg-jpush

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

    egg plugin for jpush

    Install

    $ npm i egg-jpush --save

    Dependencies

    Usage

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

    Configuration

    // {app_root}/config/config.default.js
    exports.jpush = {
      appKey: '',
      masterSecret: '',
      appName: '',
      isDebug: true
    };

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

    Example

    await this.app.jpush.sendToOne('120c83f7601980a06c3', 'hello world')

    Questions & Suggestions

    Please open an issue here.

    License

    MIT

    Install

    npm i egg-jpush

    DownloadsWeekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    7.31 kB

    Total Files

    7

    Last publish

    Collaborators

    • reezon