Skip to content

linfengluo/js-units

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

js-units

整理收集日常工作中常用的函数

tips

该项目使用了ES6语法,为确保兼容性,请使用babel;

install

npm i -S js-units

//完整引入
import jsUnits from 'js-units'
// const jsUnits = require('js-units')

//按需引入
import {isMobile} from 'js-units'

功能函数

Browser

Loader

Math

Moment

Regex

Storage

Url