dance2die / calendar-dates

📆 Get a list of calendar dates with no external dependencies.
https://www.npmjs.com/package/calendar-dates
MIT License
14 stars 3 forks source link

Why is this library async? #23

Closed ewolfe closed 5 years ago

ewolfe commented 6 years ago

Is there any reason the main interfaces (getDates and getMatrix) are exposed as a promise? It looks like the backing getDatesWithMetadata can be implemented in a synchronous manner instead of returning a promise.

dance2die commented 5 years ago

Closing after a discussions in #24.