1.1.2 • Published 2 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
2 years ago
1.1.1
2 years ago
1.1.0
2 years ago
1.0.20
2 years ago
1.0.19
2 years ago
1.0.18
2 years ago
1.0.17
2 years ago
1.0.16
2 years ago
1.0.15
2 years ago
1.0.14
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.11
2 years ago
1.0.10
2 years ago
1.0.9
2 years ago
1.0.8
2 years ago
1.0.7
2 years ago
1.0.6
2 years ago
1.0.5
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.2
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago