awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
iamkun avatar

iamkun/dayjs

0
View on GitHub↗
48,662 stars·2,449 forks·JavaScript·MIT·12 viewsday.js.org↗

Dayjs

Day.js is a lightweight utility for parsing, validating, and manipulating date objects. It provides a fluent, chainable interface that allows for complex time calculations and transformations to be performed through a sequence of readable method calls. By utilizing an immutable wrapper pattern, the library ensures data integrity by creating new instances for every operation rather than modifying existing objects.

The project is distinguished by a minimalist core abstraction that maintains a small footprint by offloading non-essential features to an optional, modular plugin system. This architecture allows developers to extend functionality or add specialized formatting capabilities by registering independent modules only when needed. Furthermore, the library includes an internationalization engine that supports dynamic, lazy loading of locale data to keep bundle sizes minimal while respecting regional date and time conventions.

Features

  • Date and Time Libraries - Creates new date objects whenever values change to ensure data integrity during complex calculations.
  • Date Manipulation Utilities - Parses, validates, and transforms time data using a chainable interface for consistent formatting.
  • Immutable Date Libraries - A lightweight utility for parsing, validating, and manipulating date objects using immutable transformation patterns.
  • Chainable Date Utilities - Provides a fluent interface for performing complex time calculations through readable method calls.
  • Fluent Date Processing - Simplifies common time-based operations through a chainable interface that makes transformations readable.
  • Immutable Date Processing - Performs complex date and time calculations while ensuring data integrity by creating new instances.
  • Immutable Data Patterns - Wraps native date objects in new instances for every operation to ensure data integrity and prevent unintended side effects.
  • Modular Architectures - Maintains a tiny footprint by offloading all non-essential features to an optional plugin system.
  • Modular Plugin Architectures - A flexible extension system that allows adding specialized formatting without increasing the core bundle size.
  • Date And Time - Immutable date library alternative.
  • Date and Time Utilities - Minimalist, immutable date library with a Moment-compatible API.
  • Date Utilities - Immutable date library with a modern API.
  • Dates and Time - Minimalist library with a Moment.js-compatible API.
  • Utility and Math - Date and time library.
  • Date and Time - 2kb alternative to Moment.js.
  • Plugin Systems - Extends core functionality by injecting custom methods directly into the prototype chain through a modular registration system.
  • Internationalized Date Formatting - Displays dates and times in a way that respects specific language and regional conventions.
  • Localization Tools - Applies internationalization settings on demand to display dates and times according to regional conventions.
  • Modular Library Extensions - Adds specialized features or custom functionality to a core utility without increasing the base codebase size.
  • Internationalization Engines - Transforms date and time values into region-specific formats based on dynamic language settings.
  • Internationalization Utilities - Loads internationalization data dynamically only when requested to keep the initial bundle size minimal.
  • Extensibility Frameworks - Allows adding specialized formatting or advanced capabilities by registering independent modules.
  • Fluent Interfaces - Provides a chainable interface that allows multiple date transformations to be linked together in a single statement.

Star history

Star history chart for iamkun/dayjsStar history chart for iamkun/dayjs

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Dayjs

Similar open-source projects, ranked by how many features they share with Dayjs.
  • moment/luxonmoment avatar

    moment/luxon

    16,360View on GitHub↗

    Luxon is a JavaScript library for parsing, validating, manipulating, and formatting dates and times. It provides a suite of immutable objects for managing points in time, durations, and intervals, ensuring that all transformations return new instances to maintain predictable state. The library distinguishes itself by leveraging the native Internationalization API and environment-based time zone databases. This architecture allows for localized date formatting and global time zone conversions without requiring external data files or additional dependencies. It also supports non-Gregorian calen

    JavaScriptdatesdatetimeintl
    View on GitHub↗16,360
  • date-fns/date-fnsdate-fns avatar

    date-fns/date-fns

    36,579View on GitHub↗

    date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting, and calculating dates and times. It serves as an immutable date manipulation library and a tool for time zone management, ensuring that date transformations are performed without modifying the original date objects. The library functions as a date formatting tool that converts date objects into human-readable strings using custom patterns and international locales. It includes a specific toolset for adjusting and calculating date representations across different geographical re

    TypeScriptdatedate-fnshacktoberfest
    View on GitHub↗36,579
  • moment/momentmoment avatar

    moment/moment

    47,965View on GitHub↗

    Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and times. It provides a system for converting date strings into structured objects using the ISO 8601 standard or custom tokens. The library includes a timezone management tool for handling UTC offsets and geographic timezones, ensuring accurate date calculations across different regions. It features an internationalized date formatter and a relative time calculator to render timestamps as human-friendly durations adapted to various cultural locales and languages. The project co

    JavaScript
    View on GitHub↗47,965
  • formkit/tempoformkit avatar

    formkit/tempo

    2,581View on GitHub↗

    Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and calculating dates and times. It serves as a date arithmetic engine, a locale-aware formatter, and a timezone offset manager for native JavaScript date objects. The library includes a dedicated ISO 8601 date parser for validating and converting standardized strings into date objects. It handles geographic normalization through IANA timezone offset management and utilizes the native Internationalization API for region-specific date formatting. The project covers a broad range of date and

    TypeScriptdatedate-formattingdatetime
    View on GitHub↗2,581
See all 30 alternatives to Dayjs→

Frequently asked questions

What does iamkun/dayjs do?

Day.js is a lightweight utility for parsing, validating, and manipulating date objects. It provides a fluent, chainable interface that allows for complex time calculations and transformations to be performed through a sequence of readable method calls. By utilizing an immutable wrapper pattern, the library ensures data integrity by creating new instances for every operation rather than modifying existing objects.

What are the main features of iamkun/dayjs?

The main features of iamkun/dayjs are: Date and Time Libraries, Date Manipulation Utilities, Immutable Date Libraries, Chainable Date Utilities, Fluent Date Processing, Immutable Date Processing, Immutable Data Patterns, Modular Architectures.

What are some open-source alternatives to iamkun/dayjs?

Open-source alternatives to iamkun/dayjs include: moment/luxon — Luxon is a JavaScript library for parsing, validating, manipulating, and formatting dates and times. It provides a… date-fns/date-fns — date-fns is a JavaScript date utility library providing a collection of pure functions for manipulating, formatting,… moment/moment — Moment is a JavaScript date manipulation library used for parsing, validating, manipulating, and formatting dates and… formkit/tempo — Tempo is a JavaScript date manipulation library that provides a suite of tools for parsing, formatting, and… malcommac/swiftdate — SwiftDate is a date manipulation library for the Swift programming language. It provides a toolkit for parsing,… hustcc/timeago.js — timeago.js is a JavaScript library that converts timestamps into human-readable relative time strings. It functions as…