week-year
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i week-year

Weekly Downloads

2

Version

0.2.0

License

MIT

Unpacked Size

90.1 kB

Total Files

6

Last publish

Collaborators

  • jerebtw