egg-useragent-ts
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

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:

Package Sidebar

Install

npm i egg-useragent-ts

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

5.46 kB

Total Files

5

Last publish

Collaborators

  • jeff-tian