nute
前端开发js常用工具
使用方法
- 常规方式使用
<script src="dist/nute.min.js"></script>
<script>
cosnt UA = nute.getExplore()
console.log(UA)
</script>
- npm 安装方式使用
// 安装
$ npm install --save-dev nute
// 全部引入
const nute = require('nute')
const UA = nute.getExplore()
// 按需引入
const getExplore = require('nute/getExplore')
// 或者
import { getExplore } from 'nute'
const UA = getExplore()