Stack Explorer

date-fns

Utility

Modular date utility library for JavaScript

23M/week → Stable

Features

datesmodulartree-shakeable

Pros and Cons

Ventajas

  • + Fully modular and tree-shakeable
  • + 200+ functions available
  • + Excellent documentation
  • + Native TypeScript typing

Desventajas

  • - Bundle can grow if using many functions
  • - Different API than Moment.js

Use Cases

  • Projects with complex date manipulation
  • Apps needing tree-shaking
  • Any modern JavaScript project

Tecnologías Relacionadas

Compatible with

Alternatives