Skip to main content
This release is 0 versions behind 8.1.1 — the latest version of @sebbo2002/ical-generator. Jump to latest

@sebbo2002/ical-generator@8.1.1-develop.3
Built and signed on GitHub Actions

ical-generator is a small piece of code which generates ical calendar files

This package works with Node.js, Deno, BrowsersIt is unknown whether this package works with Cloudflare Workers, Bun
It is unknown whether this package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
It is unknown whether this package works with Bun
This package works with Browsers
JSR Score
82%
Published
2 weeks ago (8.1.1-develop.3)
f
default

Create a new, empty calendar and returns it.

f
escape

Escapes special characters in the given string

f
foldLines

Trim line length of given string

f
formatDate

Converts a valid date/time object supported by this library to a string.

f
formatDateTZ

Converts a valid date/time object supported by this library to a string. For information about this format, see RFC 5545, section 3.3.5 https://tools.ietf.org/html/rfc5545#section-3.3.5

T
ICalAlarmData
No documentation available
T
v
ICalAlarmRelatesTo
No documentation available
I
ICalAlarmRepeatData
No documentation available
T
ICalAlarmTriggerAfterData
No documentation available
T
ICalAlarmTriggerBeforeData
No documentation available
T
ICalAlarmTriggerData
No documentation available
E
ICalAlarmType
No documentation available
T
ICalAlarmTypeValue
No documentation available
I
ICalAttachment
No documentation available
E
ICalAttendeeRole
No documentation available
E
ICalAttendeeStatus
No documentation available
E
ICalAttendeeType
No documentation available
E
ICalCalendarMethod
No documentation available
I
c
ICalCategory

Usually you get an ICalCategory object like this:

I
ICalCategoryData
No documentation available
I
ICalCategoryJSONData
No documentation available
T
ICalDateTimeValue

ical-generator supports native Date, moment.js (and moment-timezone, Day.js and Luxon's DateTime objects. You can also pass a string which is then passed to javascript's Date internally.

I
I
ICalDescription
No documentation available
E
ICalEventBusyStatus
No documentation available
E
ICalEventClass
No documentation available
E
ICalEventRepeatingFreq
No documentation available
E
ICalEventStatus
No documentation available
E
ICalEventTransparency
No documentation available
I
ICalGeo
No documentation available
T
ICalLocation
No documentation available
I
ICalLocationWithoutTitle
No documentation available
I
ICalLocationWithTitle
No documentation available
I
ICalMomentDurationStub
No documentation available
I
ICalMomentTimezoneStub
No documentation available
I
ICalOrganizer
No documentation available
I
ICalRRuleStub
No documentation available
I
ICalTimezone
No documentation available
E
ICalWeekday
No documentation available