iamkun/dayjs
⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
2 releases in the last 90 days, the latest 75 days ago, with 338 contributors on GitHub.
Gained 107% fewer stars in the last 90 days than in the 90 days before.
Use Cases & Benefits
- Provides a minimalist JavaScript library for parsing, validating, manipulating, and displaying dates and times with a Moment.js-compatible API.
- Offers a lightweight 2kB immutable date-time library that supports chaining and internationalization, making it faster and smaller than Moment.js.
- Use for replacing Moment.js in web projects to reduce bundle size while maintaining a familiar API for date manipulation.
- Use for building internationalized applications that require locale-specific date and time formatting on demand.
- Use for extending date-time functionality with plugins to add advanced formatting and custom features in modern JavaScript environments.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
MIT
Permissive: commercial use, modification and redistribution are allowed with attribution.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
Fast 2kB alternative to Moment.js with the same modern API
Day.js is a minimalist JavaScript library that parses, validates, manipulates, and displays dates and times for modern browsers with a largely Moment.js-compatible API. If you use Moment.js, you already know how to use Day.js.
You can find more details, API, and other docs on day.js.org website.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
-8 stars over 79 days across 8 snapshot days; best day +3 on Aug 16.
Forks
4.4K+1.9K
Open issues
1.5K+161
Compared with peers in API
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/claude-quickstarts | 20.5K | +733 | 75 | — |
| vxcontrol/pentagi | 33.9K | +719 | 75 | 36 days ago |
| N4darae/shrt | 2.6K | +529 | 8 | — |
| agentgateway/agentgateway | 6.1K | +187 | 75 | 14 days ago |
| iamkun/dayjs | 48.7K | — | 56 | 75 days ago |
| BenedictKing/ccx | 4.0K | — | 32 | 117 days ago |
| Category median | 6.1K | +624 | 75 | — |
Discover Repositories
Search across tracked repositories by name or description