Hi, thanks for the helpful project. I'm having an issue using this in a non-Node.js environment (Google Apps scripting), and there's an easy fix, because this project's i/o features are the only issues:
- Move all ical parsing code (
parseICS
) into a new npm module @peterbraden/ical-parser
(scope required because unscoped package ical-parser
already exists).
- Refactor
ical
to depend on @peterbraden/ical-parser
for the parsing logic, but retain the fromURL
and parseFile
methods for backward compatibility.
If needed, I have already separated the parsing logic myself, and can give it to you in order for you to create @peterbraden/ical-parser
. Just let me know if you want it.
NB: Looks like #80 is related to this.