somehow-calendar

2.1.0 • Public • Published
somehow-calendar
— part of somehow
WIP svelte infographics

work-in-progress

renders html calendars using spacetime date library

demo:

npm i somehow-calendar

month-centered calendars from start to end dates, inclusive

<script>
  import { Quarter } from './src'
  let days = {
    'feb 2': 'orange',
    'feb 18': 'blue',
    'feb 28': 'green',
    'march 28': 'blue',
    'march 22': 'blue',
  }
</script>

<Quarter date="march 2012" days="{days}"> </Quarter>

image

API

  • <Year date="" days={}/>
  • <Quarter date="" days={}/>
  • <Month date="" days={}/>
  • <Resize start="" end="" days={}/>
  • <WeekList start="" end="" days={}/>

See also:

Readme

Keywords

none

Package Sidebar

Install

npm i somehow-calendar

Weekly Downloads

0

Version

2.1.0

License

MIT

Unpacked Size

206 kB

Total Files

19

Last publish

Collaborators

  • spencermountain