Date-fns
⏳ A modern JavaScript date utility library that provides comprehensive, lightweight functions for date manipulation.
Date-fns is built in TypeScript, distributed under the MIT License, 36.5k GitHub stars, latest release v4.1.0.
When to use Date-fns
Date-fns is listed here as a Utils project. The directory calls out Immutable data structures, Functional programming style, Comprehensive date manipulation functions as capabilities associated with it.
Other recorded traits for Date-fns include Lightweight with tree-shaking support, Timezone-free calculations.
Besides Utils, this page also files Date-fns under JavaScript, Development.
Date-fns compared with
Records in this directory name Moment.js, Luxon, Day.js as products people compare with Date-fns. That list is editorial metadata, not a claim that Date-fns replaces each of them.
Open-source projects that mention Date-fns are collected on a separate alternatives page.
What the Date-fns stats reflect
GitHub currently shows 36.5k GitHub stars, 1.9k forks, 917 open issues, latest tracked release v4.1.0. Star and activity counts here are a snapshot used as a proxy for community adoption, not a quality score.
Stats refreshed
- Language
- TypeScript
- Latest Release
- v4.1.0
- License
- MIT License
Our Newsletter
Get new Utils tools right in your inbox
Get short emails with useful utils projects, releases, and repos worth watching.
Key features of Date-fns
- Immutable data structures
- Functional programming style
- Comprehensive date manipulation functions
- Lightweight with tree-shaking support
- Timezone-free calculations
See open-source alternatives to Date-fns
Compare with
Date-fns resources
Date-fns on GitHub
Frequently asked questions
What is Date-fns?
⏳ A modern JavaScript date utility library that provides comprehensive, lightweight functions for date manipulation. This directory highlights Immutable data structures, Functional programming style, Comprehensive date manipulation functions.
Is Date-fns free to use?
Date-fns is published as open source under the MIT License. The directory lists Immutable data structures, Functional programming style, Comprehensive date manipulation functions among its recorded capabilities.
What language is Date-fns written in, and what is the latest release?
Date-fns is written primarily in TypeScript. The latest release tracked on this page is v4.1.0.
How widely is Date-fns used on GitHub?
Date-fns has about 36.5k GitHub stars. It also has about 1.9k forks. Those counts are a snapshot of community attention, not a ranking of quality.
What do people compare Date-fns with?
This directory records Moment.js, Luxon, Day.js as comparison points for Date-fns. A longer list of open-source projects that mention Date-fns is at https://www.open-source-tools.com/alternatives/date-fns.
Related tools
Dayjs
Day.js is a 2kB immutable date-time library, providing a modern API as a lightweight alternative to Moment.js.
Spacetime
A lightweight JavaScript library for handling timezone conversions and date-time operations.
Cheerio
The fast, flexible, and elegant library for parsing and manipulating HTML and XML efficiently.
Es-toolkit
A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller than lodash.
Neverthrow
A utility for handling type-safe errors in JavaScript and TypeScript, enabling robust error handling and improved code quality.
MiniSearch
Tiny and powerful JavaScript full-text search engine for browser and Node.js. It provides efficient and effective text search capabilities in web applications.