{"repo":"mifi/ical-expander","free":true,"listed":false,"github":"https://github.com/mifi/ical-expander","clone":"git clone https://github.com/mifi/ical-expander.git","description":"ICS / iCal / iCalendar parser / expander","language":"JavaScript","stars":72,"topics":["ical","range","timezone","parse","ics","rrule","recurring","calendar","expand"],"license":"MIT","category":"productivity","readme_excerpt":"ical-expander 📅 ICS / iCal / iCalendar parser / expander. Wrapper around ical.js that automatically handles EXDATE (excluded recursive occurrences), RRULE and recurring events overridden by RECURRENCE-ID . Also handles timezones, and includes timezones from the IANA Time Zone Database, so that it parses correctly when a timezone definition is not available in the ICS file itself. zones.json can be found here and compiled by running compile-zones.js . Be careful as the processing done in this library is synchronous and will block the JS event loop while processing. Especially when processing large ICS files and with high maxIterations values. Install ⚠️ Warning: This package uses ES6 features, and might require transpiling if used in browsers Example Download .ics from google calendar for example. Usage Constructor - ics : String containing ICS data to parse - maxIterations : Max iterations on each RRULE. Defaults to 1000 ( undefined or null ). 0 means never stop ( be careful! ) between() Include all events occuring between after and before . i.e. with a start time before before JS Date and an end time after JS Date . - after JS Date : Start of range. Default: No start limit. - before JS Date . End of range. Default: No end limit. Do not run with no end limit and maxIterations: 0 Example of events included between a date range: Example of events not included between a date range: before() icalExpander.before(before) is an alias for icalExpander.between(undefined, before) afte","default_branch":null,"files":null,"tree":[],"storefront":"/r/mifi","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mifi/ical-expander/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}