mongoose-recurrence
A mongoose plugin for recurrent events using rrule.js
This is being developed along with an application which is using it. However, this is definitely not production ready. Yet.
Todo
- README
- Examples
- Github Pages
- Set constants to not be dependent on rrule.js for use
- And a lot of things
Use
npm install --save mongoose-recurrence
const recurrence = ;const mongoose = ;const Schema = mongooseSchema; const EventSchema = date: Date description: String; EventSchema); const EventModel = mongoose;
const RRule = RRule; let eventOne = date: description: String; eventOne = eventOne; /** eventOne.modifyOne() eventOne.modifyAll() eventOne.modifyForward() eventOne.getInPeriod() eventOne.deleteOne() eventOne.deleteForward()*/