Ad

later: Schedule occurrences with flexible definitions

Later is a JavaScript library for defining and calculating recurring schedules, supporting Cron, text, and composite schedules for both future and past occurrences.
Screenshot of bunkat/later homepage

Later allows developers to define complex recurring schedules using various formats, including Cron expressions and textual descriptions. The library handles the calculations for future and past occurrences, making it versatile for scheduling tasks. It's designed to be used in both Node.js and browser environments, offering flexibility in deployment.

Later's flexibility in schedule definition, supporting cron, text, and composite schedules, sets it apart. The library provides a chainable API for easy integration and offers improvements in handling ranges and exceptions. It focuses on accurate calculations and reliable scheduling.

  • Schedule Definition: Supports Cron, text, and composite schedules for flexible recurrence patterns.
  • API: Provides a chainable API for creating and managing schedules.
  • Date Handling: Offers utilities for working with dates and times, including UTC and local time conversions.
  • Range & Instance Calculations: Enables calculations of both past and future occurrences, including ranges and specific instances.
  • Extensibility: Allows custom time periods and modifiers for tailored scheduling logic.
  • Browser Support: Designed for use in both server-side (Node.js) and client-side (browser) environments.
  • Comprehensive Testing: Extensive test suite ensures reliability and accuracy.

The project is archived and no longer actively maintained since April 2018. While the core functionality remains functional, it should be considered sample code. The last major update addressed significant refactoring and API changes, and it's recommended to use alternative scheduling libraries for new projects.

Later is useful for projects requiring flexible scheduling capabilities, such as task management, automated reports, and event triggers. It offers a robust solution for calculating recurring events and outlines best practices for handling schedule definitions, even though it's not currently being updated.

Summarize:
Share:
Stars
2,406
Forks
240
Issues
98
Created
14 years ago
Commit
8 years ago
License
MIT
Archived
No
Updated 1 month ago

Similar Repositories