Convert the ICS calendar format to JSON data to consume in web apps.
Usage
// Get ICS text however you like, example below// Make sure you have the right CORS settings if neededconst convert = async { const icsRes = await const icsData = await icsRestext // Convert const data = return data}
Format
Result is an array of:
startDate: '20180505T020000Z' endDate: '20180505T060000Z' description: 'Big Event!' location: 'The place!' summary: 'Summary!'
Upcoming
- Ability to reverse conversion
- Include the rest of the keys from the ICS format