Skip to content

Dbuyou/z.js

 
 

Repository files navigation

z.js

Build Status codecov

前端工具库

安装

  1. 直接使用lib目录下的z.min.js
  <script src="z.min.js"></script>
  <script>
      var params = _.getParamByName('a')
  </script>
  1. npm/yarn安装
$ yarn add zrutil

使用方法: 支持tree shaking按需加载

import {iOS,getParmaByName} from 'zrutil'
const isIOS = iOS()
...
或者
import * as _ from 'zrutil'
const isIOS = _.iOS()
...

文档

device reg dom url

About

util lib by rollup

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 60.2%
  • JavaScript 36.2%
  • HTML 3.6%