0.0.1 • Published 5 years ago

egg-useragent-ts v0.0.1

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

egg-useragent

egg js useragent middleware

NPM version Build Status codecov David deps Known Vulnerabilities npm download Git commit with emojis!

Example

Open https://uniheart.herokuapp.com/ to see the result.

Install

$ npm i egg-useragent --save

Usage

// {app_root}/config/plugin.[t|j]s
exports.passportCiti = {
  enable: true,
  package: "egg-passport-wechat-ts"
};

Configuration

// {app_root}/config/config.default.[t|j]s
exports.passportCiti = {
  key: "your oauth key",
  secret: "your oauth secret"
};

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

Example

Questions & Suggestions

Please open an issue here.

License

MIT

Test

npm run test-local

Release Notes: