ihtml5 / blog

个人博客 源码阅读*前端实践 My Blog
MIT License
6 stars 0 forks source link

10 个“无用的” NPM 包,下载量数百万 #71

Open ihtml5 opened 3 years ago

ihtml5 commented 3 years ago

1. is-odd

检测数字是否为奇数 - 200 万次下载/月🎉

image

2. is-even

检测数字是否为偶数 - 855k 下载量/月🎉

image

3. upper-case

将字符串转换为大写 - 每月2700 万次下载🎉 image

4. is-number

检测数字是否为数字 - 1.94 亿次下载/月

image

5. store2

用于存储和从本地存储获取 - 970 万次下载/月🎉

image

6. array-flatten

扁平化嵌套数组 - 1.03 亿次下载/月🎉

image

7. split-string

在任何所需位置拆分字符串 - 6700 万次下载/月

image

8. is-boolean-object

检测值是否为布尔值 - 5200 万次下载/月

image

9. array-includes

检查数组中是否存在值 - 5200 万次下载/月

image

10. ismobilejs

在浏览器或服务器中检测是否移动设备 - 170k 下载/周🎉

image

原文链接