How to use the jpush-async/lib/JPush/JPushAsync.client function in jpush-async

To help you get started, we’ve selected a few jpush-async examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zhaotoday / less.js / lib / push / src / index.js View on Github external
module.exports = config => {
  const { APP_KEY, MASTER_SECRET } = config

  JPush.client = JPush.buildClient(APP_KEY, MASTER_SECRET)

  return JPush
}
github zhaotoday / less.js / src / modules / push.js View on Github external
module.exports = app => {
  const { APP_KEY, MASTER_SECRET } = app.$config.PUSH

  JPush.client = JPush.buildClient(APP_KEY, MASTER_SECRET)

  return JPush
}

jpush-async

JPush's officially supported Node.js client library.

GPL-2.0
Latest version published 3 years ago

Package Health Score

42 / 100
Full package analysis