ical2json
ical2json copied to clipboard
final end-of-line is missing, and ics lines end in LF instead of CRLF
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 "reverting" (converting from json to ical), done like so:
ical2json -r file.json
the output file.ics
is missing the final end-of-line, AND is terminating lines using LF, which is incorrect. the ical spec is to use CRLF to terminate lines. i work around both of these issues in the file.ics
output by running unix2dos -e file.ics
.