egg-useragent
egg js useragent middleware
Example
Open https://uniheart.herokuapp.com/ to see the result.
Install
$ npm i egg-useragent --save
Usage
// {app_root}/config/plugin.[t|j]sexportspassportCiti = enable: true package: "egg-passport-wechat-ts";
Configuration
// {app_root}/config/config.default.[t|j]sexportspassportCiti = 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
Test
npm run test-local