This package has been deprecated
Author message:
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
simi
1.1.0 • Public • Published simi
common methods collection 4 JavaScript.

Already Have Methods
getCookie(name)
get cookie
md5(str, bit)
md5 string
hash(str)
hash a string to number
uuid(len, radix)
generate uuid
debounce(func, wait, immediate)
function debounce
throttle(func, wait, options)
function throttle
deepClone(object)
object deepclone
type(variable)
judge variable type
How To Use
npm / cnpm install simi --save
yarn add simi
import simi from "simi"
simi.md5("simi")
simi.isAlpha()
or
import { md5, isAlpha } from "simi"
md5("simi")
isAlpha()
If you only use the few methods in simi, it is recommended to use the following writing method, which will make the packaged JS file smaller
import md5 from "simi/lib/md5"
md5("simi")
Package Sidebar
Install
Weekly Downloads