node package manager
Orgs are free. Discover, share, and reuse code in your team. Create a free org ยป


Basic date tweening


dateTween(startDate, endDate, duration, callback)

Tween from startDate to endDate in duration milliseconds, and call callback with a date object at each tween position.

  • dateTweenFormatDate: padded date formatter
  • dateTweenFormatTime: padded time formatter