cntdys

0.7.0 • Public • Published

count'em days

half KB JS calendar

goals

  • separate calendar logic from ui
  • minimal size
  • modern – use ES modules for delivery

usage

<script type="module">
  import { calendarMonth } from 'https://unpkg.com/cntdys@latest/dist/main.min.js'
  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

/cntdys/

    Package Sidebar

    Install

    npm i cntdys

    Weekly Downloads

    22

    Version

    0.7.0

    License

    MIT

    Unpacked Size

    8.65 kB

    Total Files

    8

    Last publish

    Collaborators

    • zigomir