![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
@kang8/chinese-holidays
Advanced tools
determine whether the date is a public holiday in China.
English | 中文
npm install @kang8/chinese-holidays
import { holiday } from '@kang8/chinese-holidays'
const national_day = new Date('2022-10-01')
holiday.isHoliday(national_day) // true
holiday.isWorkday(national_day) // false
holiday.isPublicHoliday(national_day) // true
holiday.isPublicWorkday(national_day) // false
holiday.publicHolidayName(national_day) // 国庆节
holiday.publicHolidayName(new Date('2022-09-30')) // null
npm install
npm run build
npm test
git checkout -b new_feature
)git commit -am 'New feature'
)git push origin new_feature
)Distributed under the MIT License. See LICENSE for more information.
FAQs
A lib provider api to check chinese holidays
The npm package @kang8/chinese-holidays receives a total of 0 weekly downloads. As such, @kang8/chinese-holidays popularity was classified as not popular.
We found that @kang8/chinese-holidays demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.