# calendar-deck

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

Latest version **0.1.0** (published 2020-04-15) · 0 weekly downloads

## Install

```sh
npm install calendar-deck
pnpm add calendar-deck
yarn add calendar-deck
bun add calendar-deck
```

Provides the command `calendar-deck`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2020-04-15 |
| First published | 2020-04-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 609.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | signalwerk |

## Links

- npm: https://www.npmjs.com/package/calendar-deck
- npm.io page: https://npm.io/package/calendar-deck

## Dependencies (6)

- [uuid](https://npm.io/package/uuid.md) ^7.0.3
- [ramda](https://npm.io/package/ramda.md) ^0.27.0
- [yargs](https://npm.io/package/yargs.md) ^15.3.1
- [moment](https://npm.io/package/moment.md) ^2.24.0
- [front-matter](https://npm.io/package/front-matter.md) ^3.1.0
- [immutable-ics](https://npm.io/package/immutable-ics.md) ^0.4.0

## Recent versions

- 0.1.0 (latest) — 2020-04-15

## README

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


## Getting Started

```sh
npm i -D calendar-deck
```

Create text files with calendar entries.

````txt
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:

```json
"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

---
_Source: https://npm.io/package/calendar-deck · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
