There is a NodeJS module called node-icalendar
, which you can use in conjunction with browserify (a tool that lets you use NodeJS modules in the browser) generate and parse iCalendar files in your front-end app.
I've used node-icalendar
in my own NodeJS apps, without too much luck (that's not to say it won't work for you!). What I personally ended up doing was reading the iCalendar spec and formulating my own super bare-bones .ical
file generator that exactly met my needs.