
Security News
Feross on the 10 Minutes or Less Podcast: Nobody Reads the Code
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.
ical-js-parser
Advanced tools
Simple parser from iCal string
For complicated use cases use https://github.com/mozilla-comm/ical.js/
npm i ical-js-parser
import ICalParser from 'ical-js-parser';
// Parse from iCal string to JSON
const resultJSON = ICalParser.toJSON(iCalString);
// Parse from JSON to iCal string
const resultString = ICalParser.toString(someJSONevent);
Note: Same format can be used to parse JSON event to iCal string
{
calendar:
{
begin: 'VCALENDAR',
prodid: 'abc',
version: '1',
end: 'VCALENDAR',
method: 'REPLY'
},
todos: [
{
begin: 'VTODO',
summary: 'text',
end: 'VTODO'
}
],
events:
[
{
begin: 'VEVENT',
lastModified: {
value: '2021-03-30T19:32:00Z'
}
dtstamp: {
value: "20210330T193200Z"
},
uid: 'CaqugAe----1165932647582@test.com',
summary: 'Meeting',
dtstart: {
value: "20210401T100000Z"
},
dtend: {
value: "20210401T103000Z"
},
organizer: {
EMAIL: "buia@test.com",
mailto: "buia@test.com"
},
attendee: [
{
PARTSTAT: "ACCEPTED",
CUTYPE: "INDIVIDUAL",
ROLE: "REQ-PARTICIPANT",
EMAIL: "bata123@test2.org",
mailto: "bata123@test2.org"
}
],
sequence: '1',
end: 'VEVENT',
alarms: [
{
trigger: '-PT20M',
action: 'DISPLAY',
}
]
}
]
}
FAQs
Simple parser from iCal string
We found that ical-js-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.

Security News
Socket CEO Feross Aboukhadijeh joins 10 Minutes or Less, a podcast by Ali Rohde, to discuss the recent surge in open source supply chain attacks.

Research
/Security News
Campaign of 108 extensions harvests identities, steals sessions, and adds backdoors to browsers, all tied to the same C2 infrastructure.

Security News
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.