ical-browser
v0.1.7
Published
A library for generating iCalendar (ICS) files in Node.js and the browser, supporting events, todos, journals, alarms, and timezones.
Maintainers
Readme
ical-browser
Working in the Browser and Node.js
Installation
npm install ical-browserExample
import {
VEvent,
default as ICalendar,
} from 'ical-browser'
const vevent = new VEvent({
uid: 'c7614cff-3560-4a00-9152-d25cc1fe077d',
summary: 'Event Title',
description: 'My event',
start: new Date(),
})
const calendar = new ICalendar()
calendar.addEvent(vevent)
calendar.download('calendar.ics')Copyright and license
Copyright (c) Denis Baskovsky under the MIT license.
