/egg-xtransit

egg plugin for xtransit

Primary LanguageJavaScriptBSD 2-Clause "Simplified" LicenseBSD-2-Clause

egg-xtransit

NPM version Known Vulnerabilities npm download

Install

$ npm i --save egg-xtransit

Usage

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

Configuration

// {app_root}/config/config.default.js
exports.xtransit = {
  server: '<xtransit-server address>',
  appId: '<your appId>',
  appSecret: '<your appSecret>'
};

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

Questions & Suggestions

Please open an issue here.

License

BSD-2-Clause