Calendar DW Scheduler is a simple module for scheduling events and checking if events are scheduled for today.
You can install Calendar DW Scheduler via npm:
npm install calendar-dw-scheduler
const calendarScheduler = require('calendar-dw-scheduler');
// Example usage:
const eventDate = new Date('2024-03-04');
calendarScheduler.scheduleEvent('Meeting', eventDate);
calendarScheduler.isEventScheduledForToday('Meeting', eventDate);
Schedules an event with the specified name for the given date.
-
eventName
: The name of the event. -
eventDate
: The date object representing the event's date.
Checks if the event with the specified name is scheduled for today's date.
-
eventName
: The name of the event. -
eventDate
: The date object representing the event's date.
This module relies on the dateworkutil
package for date-related functionalities.
This project is licensed under the MIT License - see the LICENSE file for details.