dayjs
2KB immutable date time library alternative to Moment.js with the same modern API
moment
Parse, validate, manipulate, and display dates
pretty-ms
Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`
sinon
JavaScript test spies, stubs and mocks.