Skip to content
/ cntdys Public

because calendars are too fat

Notifications You must be signed in to change notification settings

zigomir/cntdys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

<script type="module">
  import { calendarMonth } from 'https://esm.sh/jsr/@ziga/[email protected]'
  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)
</script>

or with npm install cntdys.

what about ui?

caly