8 Best Node.js Date Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

date-fns

⏳ Modern JavaScript date utility library ⌛️

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
142
Top Feedback
32Great Documentation
31Easy to Use
19Performant
GitHub Stars
27K
Weekly Downloads
12M
Last Commit
6d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable
day

dayjs

⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
148
Top Feedback
31Easy to Use
29Great Documentation
25Performant
GitHub Stars
37K
Weekly Downloads
7M
Last Commit
1mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
dat

dateformat

A node.js package for Steven Levithan's excellent dateFormat() function.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.6/ 5
5
Top Feedback
5Easy to Use
4Great Documentation
GitHub Stars
1K
Weekly Downloads
8M
Last Commit
1mo ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

luxon

⏱ A library for working with dates and times in JS

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.8/ 5
18
Top Feedback
8Great Documentation
8Easy to Use
4Performant
GitHub Stars
12K
Weekly Downloads
2M
Last Commit
18d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

moment

Parse, validate, manipulate, and display dates in javascript.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.3/ 5
511
Top Feedback
69Great Documentation
67Easy to Use
41Performant
GitHub Stars
46K
Weekly Downloads
16M
Last Commit
8mos ago
Bundle Size (min+gzip)
72.0KB
Tree-Shakeable

moment-range

Fancy date ranges for Moment.js

License Icon
License: Unlicense
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.7/ 5
3
Top Feedback
3Easy to Use
2Great Documentation
2Performant
GitHub Stars
2K
Weekly Downloads
283K
Last Commit
2yrs ago
Bundle Size (min+gzip)
3.64KB
Not Tree-Shakeable
dat

date-and-time

A Minimalist DateTime utility for Node.js and the browser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
115
Weekly Downloads
1M
Last Commit
14d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

instadate

A minimal high performance date library for Node.js and Browser

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
811
Weekly Downloads
709
Last Commit
2yrs ago
Bundle Size (min+gzip)
3.24KB
Not Tree-Shakeable