
Product
A Fresh Look for the Socket Dashboard
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
Provides iCalendar (RFC5545) parsing as well as a convenient API for generating iCalendar data.
You can generate a single event:
var event = new icalendar.VEvent('cded25be-3d7a-45e2-b8fe-8d10c1f8e5a9');
event.setSummary("Test calendar event");
event.setDate(new Date(2011,11,1,17,0,0), new Date(2011,11,1,18,0,0));
event.toString();
Or create a collection of events:
var ical = new icalendar.iCalendar();
ical.addComponent(event);
var event2 = ical.addComponent('VEVENT');
event2.setSummary("Second test event");
event2.setDate(new Date(2011,11,5,12,0,0), 60*60); // Duration in seconds
Create a iCalendar collection from a string:
// data is a string containing RFC5545 data
var ical = icalendar.parse_calendar(data);
Access an array of the events defined within:
ical.events()
Several portions of the iCalendar spec remain unimplemented:
* HOURLY, MINUTELY, and SECONDLY recurrence are not implemented.
- Support for these is not currently planned, as they do not
seem to be found in actual use.
* BYHOUR, BYMINUTE, and BYSECOND modifiers are not implement as above.
* BYSETPOS
* WKST
- This could very likely become important
* BYWEEKNO
* BYYEARDAY
* RDATE is not yet implemented
* RECURRENCE-ID and multiple related VEVENTS are not currently supported
* Documentation is pretty weak
FAQs
RFC5545 iCalendar parser/generator
The npm package icalendar receives a total of 11,013 weekly downloads. As such, icalendar popularity was classified as popular.
We found that icalendar demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
We’ve redesigned the Socket dashboard with simpler navigation, less visual clutter, and a cleaner UI that highlights what really matters.
Industry Insights
Terry O’Daniel, Head of Security at Amplitude, shares insights on building high-impact security teams, aligning with engineering, and why AI gives defenders a fighting chance.
Security News
MCP spec updated with structured tool output, stronger OAuth 2.1 security, resource indicators, and protocol cleanups for safer, more reliable AI workflows.