Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
github.com/hexuejian/holidays
项目中需要用到节假日查询接口:1. 网络上免费的不稳定 2. 稳定的需要收费,而且带很多不需要的信息
基于此,开发一款极度精简的节假日库
获取当前公布的从 2010 ~ 2019 的官方节假日安排
获取当前公布的节假日安排,按年份查询
获取当前公布的节假日安排,按年份和月份查询
获取当前公布的节假日安排,按年份和中文名称查询
获取当前节假日安排,按年份和英文名称查询
获取某年存在多少天的假期
判断某天是否是节假日,某天的格式是:"2006/01/02"
判断某天是否是工作日,某天的格式是: "2006/01/02"
判断某天是否是周末,某天的格式是: "2006/01/02"
<使用愉快...>
FAQs
Unknown package
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.