[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-1497":3},{"id":4,"name":5,"fullName":6,"owner":5,"repo":5,"description":7,"homepage":8,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":22,"hasPages":22,"topics":24,"createdAt":9,"pushedAt":9,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":15,"starSnapshotCount":15,"syncStatus":35,"lastSyncTime":36,"discoverSource":37},1497,"date-fns","date-fns\u002Fdate-fns","⏳ Modern JavaScript date utility library ⌛️","https:\u002F\u002Fdate-fns.org",null,"TypeScript",36575,1958,202,656,0,1,5,27,4,44.88,"MIT License",false,"main",[25,5,26,27,28,29,30,31],"date","hacktoberfest","javascript","modules","nodejs","time","utilities","2026-06-12 02:00:28","🔥️ **NEW**: [date-fns v4.0 with first-class time zone support is out!](https:\u002F\u002Fblog.date-fns.org\u002Fv40-with-time-zone-support\u002F)\n\n\u003Cimg alt=\"date-fns\" title=\"date-fns\" src=\"https:\u002F\u002Fraw.githubusercontent.com\u002Fdate-fns\u002Fdate-fns\u002Fmaster\u002Fdocs\u002Flogotype.svg\" width=\"150\" \u002F>\n\ndate-fns provides the most comprehensive, yet simple and consistent toolset for manipulating JavaScript dates in a browser & Node.js\n\n👉 [Documentation](https:\u002F\u002Fdate-fns.org\u002F)\n\n👉 [Blog](https:\u002F\u002Fblog.date-fns.org\u002F)\n\n\u003Chr>\n\nIt's like [Lodash](https:\u002F\u002Flodash.com) for dates\n\n- It has [**200+ functions** for all occasions](https:\u002F\u002Fdate-fns.org\u002Fdocs\u002FGetting-Started\u002F).\n- **Modular**: Pick what you need. Works with webpack, Browserify, or Rollup and also supports tree-shaking.\n- **Native dates**: Uses existing native type. It doesn't extend core objects for safety's sake.\n- **Immutable & Pure**: Built using pure functions and always returns a new date instance.\n- **TypeScript**: The library is 100% TypeScript with brand-new handcrafted types.\n- **I18n**: Dozens of locales. Include only what you need.\n- [and many more benefits](https:\u002F\u002Fdate-fns.org\u002F)\n\n```js\nimport { compareAsc, format } from \"date-fns\";\n\nformat(new Date(2014, 1, 11), \"yyyy-MM-dd\");\n\u002F\u002F=> '2014-02-11'\n\nconst dates = [\n  new Date(1995, 6, 2),\n  new Date(1987, 1, 11),\n  new Date(1989, 6, 10),\n];\ndates.sort(compareAsc);\n\u002F\u002F=> [\n\u002F\u002F   Wed Feb 11 1987 00:00:00,\n\u002F\u002F   Mon Jul 10 1989 00:00:00,\n\u002F\u002F   Sun Jul 02 1995 00:00:00\n\u002F\u002F ]\n```\n\nThe library is available as an [npm package](https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Fdate-fns).\nTo install the package run:\n\n```bash\nnpm install date-fns --save\n```\n\n## Docs\n\n[See date-fns.org](https:\u002F\u002Fdate-fns.org\u002F) for more details, API,\nand other docs.\n\n\u003Cbr \u002F>\n\n## License\n\n[MIT © Sasha Koss](https:\u002F\u002Fkossnocorp.mit-license.org\u002F)\n","date-fns 是一个现代化的 JavaScript 日期处理库，适用于浏览器和 Node.js 环境。它提供了超过200种功能全面、简单一致的日期操作工具，包括格式化、比较、排序等。该库采用模块化设计，支持 Webpack、Browserify 和 Rollup，并且可以进行 tree-shaking 优化，以减少最终打包体积。date-fns 使用原生日期类型，不扩展核心对象，确保了安全性和兼容性；同时，它基于纯函数构建，保持了不可变性和纯净性。此外，date-fns 完全用 TypeScript 编写，支持国际化（I18n），并包含多种语言环境。适合需要高效、灵活地处理日期时间的应用场景，如日历应用、数据分析、时间线展示等。",2,"2026-06-11 02:44:09","top_all"]