ical2json
ical2json copied to clipboard
A simple node package to convert ical data to json
There is an TZID property in some calendars that makes the parser go haywire. https://tools.ietf.org/html/rfc5545 ```ical BEGIN:VEVENT UID:qTJ-3n1sAUwFl SUMMARY:Luleå Hockey - Örebro Hockey 4 - 3 SO DESCRIPTION: LOCATION:Coop Norrbotten...
Will this module work with RN? I imported it and I am getting the error: `"Unable to resolve module `path` from `/Users/user/Desktop/CGPSApp/node_modules/ical2json/index.js`: Module does not exist in the module map`...
It seems that the attachment XML is formed strangely, along the lines of: ``` ATTACH;VALUE=URI;FILENAME=example.jpg;FMTTYPE=image/jpeg; MANAGED-ID=123123123:https: //p47-caldav.icloud.com/long/path/to/example.jpg ``` So in JSON, the attachment is getting pulled into whatever field precedes...
ICS that have both an initial; VTIMEZONE section and TZID in events don't seem to be parsing.
The iCal file I am reading is escaping comma's, for instance `\,` and when that goes through ical2jasn it adds another backslash `\\,`. This extra backslash is undesirable.
Add printing to stdout using -s or --stdout flag. Fixes #60 Collaborated with @emiara :)
Option to output JSON directly to stdout instead of saving to a file. This would be useful for piping and quick checks in scripts. Example: ```bash ical2json input.ics --stdout ```
I am applying the ical2json lib on my own personal calendar file which is from Apple. However, I realized some calendar entries are not parsed correctly. I get for calendar...
after installing and using: ``` npm install -g ical2json ical2json file.ics ``` the output `file.json` is missing the final end-of-line, which i work around by running `dos2unix -e file.json`. upon...