s-recure
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

s-recur

Limited (though highly extensible) iCalendar parser that currently only supports RRULE, RDATE, EXRULE, and EXDATE

Usage

  1. Install the package
npm install SOME-PACKAGE --save
  1. Use parse or serialize to handle iCalendar event definitions:
import * as sRecur from 's-recur';

sRecur.parse(`RRULE:FREQ=MONTHLY;COUNT=3;`);

sRecur.serialize({
  rrule: {
    count: 5,
    frequency: sRecur.Frequencies.Weekly,
    byDay: [ sRecur.Days.Wednesday, sRecur.Days.Thurday ]
  }
});

Readme

Keywords

none

Package Sidebar

Install

npm i s-recure

Weekly Downloads

2

Version

0.0.1

License

MIT

Last publish

Collaborators

  • mikeryan52