npm

Need private packages and team management tools?Check out npm Orgs. »

egg-extend-ua

1.0.2 • Public • Published

egg UA扩展

plugin.js中配置

exports.useragent = {
  enable: true,
  package: 'egg-extend-ua'
};

ctx公开对象

this.ctx.isMobile;
this.ctx.isIOS;
this.ctx.isAndroid;

其他资料

install

npm i egg-extend-ua

Downloadsweekly downloads

8

version

1.0.2

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability