1.1.2 • Published 3 years ago
nm-jstools v1.1.2
nm-jstools
For like-minded people, please contact QQ, wx:875347807
- Collect general JS algorithms
- Including DOM operation, JS operation and CSS operation
install
npm i -D nm-jstools
use
import * as xxx from 'nm-jstools'
xxx.func()
eg: xxx.getTypeOf('007')
func1: check data type
/*
* params : any data
* return: data type
*/
xxx.getTypeOf(params)
func2: data unique
/*
* params : array / string
* return: Data De duplication
*/
xxx.unique(params)
func3: mobileCheck
/*
* params : mobile
* return: boolean (true/false)
*/
xxx.Validate.mobileCheck(1820035025)
obj: data-make
console.log(xxx.dataMake)
obj: date-make
console.log(xxx.dataMake)
fun4: debounce
xxx.debounce(fn,200)
throttle
xxx.throttle(fn,200)
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.20
3 years ago
1.0.19
3 years ago
1.0.18
3 years ago
1.0.17
3 years ago
1.0.16
3 years ago
1.0.15
3 years ago
1.0.14
3 years ago
1.0.13
3 years ago
1.0.12
3 years ago
1.0.11
3 years ago
1.0.10
3 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6
3 years ago
1.0.5
3 years ago
1.0.4
3 years ago
1.0.3
3 years ago
1.0.2
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago