node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


tween between dates

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