awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
iamkun avatar

iamkun/dayjs

0
View on GitHub↗
48,662 星标·2,449 分支·JavaScript·MIT·12 次浏览day.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 历史

iamkun/dayjs 的 Star 历史图表iamkun/dayjs 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Dayjs 的开源替代方案

相似的开源项目,按与 Dayjs 的功能重合度排序。
  • moment/luxonmoment 的头像

    moment/luxon

    16,360在 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
    在 GitHub 上查看↗16,360
  • date-fns/date-fnsdate-fns 的头像

    date-fns/date-fns

    36,579在 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
    在 GitHub 上查看↗36,579
  • moment/momentmoment 的头像

    moment/moment

    47,965在 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
    在 GitHub 上查看↗47,965
  • formkit/tempoformkit 的头像

    formkit/tempo

    2,581在 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
    在 GitHub 上查看↗2,581
查看 Dayjs 的所有 30 个替代方案→

常见问题解答

iamkun/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.

iamkun/dayjs 的主要功能有哪些?

iamkun/dayjs 的主要功能包括:Date and Time Libraries, Date Manipulation Utilities, Immutable Date Libraries, Chainable Date Utilities, Fluent Date Processing, Immutable Date Processing, Immutable Data Patterns, Modular Architectures。

iamkun/dayjs 有哪些开源替代品?

iamkun/dayjs 的开源替代品包括: 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…