week-year
import init, { has53Weeks, getDateStr } from "week-year";
await init();
console.log(has53Weeks(2020)); // true
console.log(has53Weeks(2021)); // false
console.log(getDateStr(2020, 1)); // 30.12.2019-03.01.2020
This package has been deprecated
Author message:
Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
import init, { has53Weeks, getDateStr } from "week-year";
await init();
console.log(has53Weeks(2020)); // true
console.log(has53Weeks(2021)); // false
console.log(getDateStr(2020, 1)); // 30.12.2019-03.01.2020
npm i week-year
0
0.2.0
MIT
90.1 kB
6