← All repos

date-fns

⏳ Modern JavaScript date utility library ⌛️

datedate-fnshacktoberfestjavascriptmodulesnodejstimeutilities
Browse cluster: JavaScript Standard Style Linting
2,589commits
432contributors
7languages

Tech stack & purpose

date-fns is a modern JavaScript date utility library providing over 200 functions for manipulating dates in browsers and Node.js, comparable to Lodash but specialized for date operations. Built entirely in TypeScript, the library is designed to be modular with tree-shaking support, works with webpack, Browserify, and Rollup, and uses immutable pure functions that operate on native JavaScript Date objects without extending core types. The project, created by Sasha Koss, includes a core package alongside specialized packages like @date-fns/utc for UTC-based calculations and @date-fns/tz for full time zone support, with additional support for internationalization across dozens of locales.

Languages

TypeScript
96.3%
JavaScript
3.1%
Shell
0.5%
Makefile
0.1%
CSS
0.1%
HTML
0.0%
Dockerfile
0.0%

Contributors (top 30 of 432)