
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
holidays-jp
Advanced tools
get Japanese public holidays
$ npm install holidays-jp
$ yarn add holidays-jp
const holidays = require('holidays-jp');
const date = new Date(2019, 1 - 1, 1, 0, 0, 0, 0);
holidays.isHoliday(date); // => true
const date = new Date(2019, 1 - 1, 1, 0, 0, 0, 0);
holidays.getHolidayInfo(date); // => { date: '2019-01-01', name: '元日', ... }
holidays-jp.js has CLI command:
$ npx holidays-jp '2019-01-01T00:00:00+09:00'
$ echo $?
0
$ npx holidays-jp '2019-01-02T00:00:00+09:00'
$ echo $?
1
use current time if don't pass argument:
$ date +%FT%T
2019-08-25T03:09:59
$ npx holidays-jp
$ echo $?
1
The MIT license.
FAQs
get Japanese public holidays
The npm package holidays-jp receives a total of 16 weekly downloads. As such, holidays-jp popularity was classified as not popular.
We found that holidays-jp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.