0.0.1 • Published 5 years ago
egg-useragent-ts v0.0.1
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]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
Test
npm run test-local
Release Notes:
0.0.1
5 years ago