Package
dayjs
Date library with a largely Moment.js-compatible API, extended through plugins.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 51.5m
- +95% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 1 month ago
- v1.11.23
- GitHub stars
- 48.7k
- 3.2k forks
- Open issues / PRs
- 971 / 365
- Contributors
- 358
- Commits, last 52 weeks
- 54
Downloads
Last week 2026-09-15 to 2026-09-21
51,515,684 downloads last week, 231,620,794 in the last month. The 12-month change of +95% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 5132 in total
- Latest version
- 1.11.23, 17 Aug 20261 month ago
- First published
- 10 Apr 2018
- Last push to GitHub
- 15 Sept 20269 days before the snapshot
- Repository archived
- No
- Open issues
- 971
- Open pull requests
- 365
- Commits, last 52 weeks
- 54
- Dependents on npm
- 25,464
Major versions
- v1 first release 1.0.0, 10 Apr 2018
Recent releases
| Version | Published |
|---|---|
| 1.11.23 | 17 Aug 2026 |
| 1.11.22 | 16 Aug 2026 |
| 1.11.21 | 26 May 2026 |
| 1.11.20 | 12 Mar 2026 |
| 1.11.19 | 31 Oct 2025 |
| 1.11.18 | 30 Aug 2025 |
| 1.11.17 | 29 Aug 2025 |
| 1.11.16 | 29 Aug 2025 |
| 1.11.15 | 28 Aug 2025 |
| 1.11.14 | 27 Aug 2025 |
| 1.11.13 | 20 Aug 2024 |
| 1.11.12 | 18 Jul 2024 |
| 1.11.11 | 28 Apr 2024 |
| 1.11.10 | 19 Sept 2023 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- Not declared
- Runtimes
- Browser, Node.jsFrom the package docs
- Unpacked size (npm)
- 666 kB
- Dependencies (0)
- None
npm install dayjsCDN
jsDelivr: 705.1m requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/dayjs@1.11.23/ - unpkg
https://unpkg.com/dayjs@1.11.23/ - esm.sh
https://esm.sh/dayjs@1.11.23
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| date-fns | 72.4m | - | 3 months ago | ESM + CommonJS | date-fns vs dayjs |
| luxon | 27.4m | - | 1 year ago | ESM + CommonJS | luxon vs dayjs |
| moment | 26.5m | - | 10 days ago | CommonJS | dayjs vs moment |
| @js-joda/core | 3.1m | - | 2 months ago | ESM + CommonJS | - |
| date-fns-tz | 7.5m | - | 1 year ago | ESM + CommonJS | - |
| @date-fns/tz | 27m | - | 4 months ago | ESM + CommonJS | - |
- Immutable and chainable. The README describes the API as largely Moment.js-compatible.
- Extra features are added through plugins loaded with dayjs.extend().
- Time zone support comes from the utc and timezone plugins.
- Locales are loaded on demand and are not included unless imported.
Related
Indexability: Indexed.