Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 802 Bytes

File metadata and controls

27 lines (20 loc) · 802 Bytes

Overview

date-fns provides comprehensive, modern date manipulation functions for JavaScript. It's modular, immutable, and tree-shakeable, making it perfect for React applications that need date handling.

Features

  • 200+ Functions: Comprehensive date utilities
  • Immutable: Doesn't mutate dates
  • Tree Shakeable: Import only what you need
  • TypeScript: Full type safety
  • I18n Support: 80+ locales
  • Time Zones: Time zone support via add-on
  • FP Module: Functional programming style
  • Consistent API: Predictable function signatures

Use Cases

  • Date formatting and parsing
  • Date calculations and comparisons
  • Relative time formatting
  • Calendar applications
  • Scheduling systems
  • Any date/time manipulation

Pricing

Free and open source (MIT License)