Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@alitajs/autils
Advanced tools
npm install @alitajs/autils --save
yarn add @alitajs/autils
false
,遍历会提前退出。value
的类型data
进行分组。value
是否是一个数组value
是否是一个布尔值。value
是否是一个日期value
是否为邮箱。obj
是否是一个空对象value
是否是一个函数value
是否是一个身份证号value
是否是一个整数。value
是否是 NaN
。value
是否是一个负整数value
是否是 null
或 undefined
value
是否是 null
value
是否是一个数字。value
是否是一个对象value
是否为手机号。value
是否为Promise
。value
是否是一个正则对象。value
是否是一个字符串value
是否等于 undefined
。value
是否是一个UrlT
中排除 undefined
类型。FAQs
Awesome Utils(前端常用工具方法)
We found that @alitajs/autils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.