https://github.com/zigomir/cntdys
because calendars are too fat
https://github.com/zigomir/cntdys
calendar javascript
Last synced: about 1 year ago
JSON representation
because calendars are too fat
- Host: GitHub
- URL: https://github.com/zigomir/cntdys
- Owner: zigomir
- Created: 2017-06-11T21:24:58.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-10-12T05:28:03.000Z (over 1 year ago)
- Last Synced: 2025-04-05T04:39:00.133Z (about 1 year ago)
- Topics: calendar, javascript
- Language: TypeScript
- Homepage:
- Size: 539 KB
- Stars: 3
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# count'em days
> half KB JS calendar
## goals
- separate calendar logic from ui
- minimal size
- modern – use ES modules for delivery
## development
- developed with Deno v2
## usage
```html
import { calendarMonth } from 'https://esm.sh/jsr/@ziga/cntdys@0.7.0'
console.log('calendarMonth', calendarMonth(2017, 9))
// or with different start of the week
console.log('calendarMonth', calendarMonth(2017, 9, 1)) // start week on Monday (0 = Sunday)
```
or with `npm install cntdys`.
## what about ui?
[caly](https://github.com/zigomir/caly)