Package Exports
- @cxy227/browser-detection
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@cxy227/browser-detection) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Browser Detection
😊 项目介绍
使用用户代理进行浏览器版本检测
✨ 演示
📖 如何使用
browser-detection 非常好用,直接引用js文件即可
<script src="https://cdn.jsdelivr.net/npm/@cxy227/browser-detection@0.1.1/dist/index.js"></script>
const bd = new browserDetection()
// output
{
info: {
name: 'Chrome',
version: '94',
os: 'Mac OS X
}
}<script id="drowserDetection" data-check="auto" src="https://cdn.jsdelivr.net/npm/@cxy227/browser-detection@0.1.1/dist/index.js"></script>🧰 开发测试
● npm run dev
📄 证书(License)
Copyright (c) beth