0.1.8 • Published 6 years ago

@ncukondo/ical-parser-light v0.1.8

Weekly downloads
1
License
MIT
Repository
-
Last release
6 years ago

@ncukondo/ical-parser-light

Prerequisites

Getting Started

yarn add @ncukondo/ical-parser-light
npm install --save @ncukondo/ical-parser-light

Usage

import parser, { ICalendarEvent } from 'ical-parser-light';

let sampleICS = "....";  // some iCalendar Data string

events.forEach(event => {
  let date = event.startDate;
  console.log(`${date.getFullYear()}-${date.getMonth() + 1}-${date.getDate()}: ${event.summary}`;
});

About ical

License

This software is released under the MIT License.