1.0.4 • Published 6 years ago

mobile-type-test v1.0.4

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Build Status

判断手机机型

Install

npm install mobile-type-test -S

Quick Start

let test = require('mobile-type-test');
let mobleType = test();
// 会输出 mi5 mi8 iphoneX 等等
console.log(mobleType);

页面直接引入

<script src="./lib/index.min.js"></script>
let mobleType = testMobile();
// 会输出 mi5 mi8 iphoneX 等等
console.log(mobleType);

LICENSE

MIT

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago