Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spencermountain/somehow-calendar
calendar visualization
https://github.com/spencermountain/somehow-calendar
Last synced: 21 days ago
JSON representation
calendar visualization
- Host: GitHub
- URL: https://github.com/spencermountain/somehow-calendar
- Owner: spencermountain
- Created: 2018-11-23T14:34:36.000Z (almost 6 years ago)
- Default Branch: gh-pages
- Last Pushed: 2023-04-29T22:23:00.000Z (over 1 year ago)
- Last Synced: 2024-04-23T15:01:12.612Z (6 months ago)
- Language: JavaScript
- Homepage: https://spencermounta.in/somehow-calendar/
- Size: 868 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**work-in-progress**
renders html calendars using [spacetime](https://github.com/spencermountain/spacetime) date library
demo:
`npm i somehow-calendar`
month-centered calendars from start to end dates, inclusive
```html
import { Quarter } from './src'
let days = {
'feb 2': 'orange',
'feb 18': 'blue',
'feb 28': 'green',
'march 28': 'blue',
'march 22': 'blue',
}
```![image](https://user-images.githubusercontent.com/399657/109879024-101e3400-7c43-11eb-8e58-96b17596e2b4.png)
### API
- ``
- ``
- ``
- ``
- ``### See also:
- [somehow](https://github.com/spencermountain/somehow) - partner svg dataviz
- [d3-time](https://github.com/d3/d3-time)
MIT