Socket
Socket
Sign inDemoInstall

calendar-deck

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

calendar-deck

A human editable (.txt) and machine readable (.ics) calendar-list.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

calendar-deck

A human editable (.txt) and machine readable (.ics) calendar-list.

Getting Started

npm i -D calendar-deck

Create text files with calendar entries.

21.3.2016, 10–11, Meeting
22.3.2016, Birthday

Add a run script to your package.json with the calendar-deck CLI pointing to the .txt file or to a folder with files in it:

"scripts": {
  "start": "calendar-deck build --outputFormat=ics --outputPath=./build calendar.txt"
}

calendar parser

You can create a text with dates:

21.3.2016, 10–11, Meeting
22.3.2016, Birthday

This will result in two calendar entries. The first is titled "Meeting" and has a time-range, the second is a whole day event with a title of "Birthday".

If you have many repeating events you can also have a template-like header:

---
title:
  prefix: "Meetup"
  join: " – "
date: 18:00–22:00
notes: bring beer.
---
22.2.2016, HTML
29.2.2016, JS

This will produce two events, one with the Title Meetup – HTML and one with Meetup – JS. Both have a note and a time-range.

License

MIT

FAQs

Package last updated on 15 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc