Package
timeago.js
timeago.js is a simple library (only 1kb) to used to format datetime with `*** time ago` statement. eg: '3 hours ago'. localization supported.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 245k
- +25% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 0
- Direct, from package.json
- Last release
- 6 years ago
- v4.0.2
- GitHub stars
- 5.4k
- 403 forks
- Open issues / PRs
- 8 / 1
- Contributors
- -
- Commits, last 52 weeks
- 23
Downloads
Last week 2026-09-15 to 2026-09-21
244,959 downloads last week, 1,176,315 in the last month. The 12-month change of +25% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 4.0.2, 21 Dec 20196 years ago
- First published
- -
- Last push to GitHub
- 30 Jun 202687 days before the snapshot
- Repository archived
- No
- Open issues
- 8
- Open pull requests
- 1
- Commits, last 52 weeks
- 23
- Dependents on npm
- 258
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 256 kB
- Dependencies (0)
- None
npm install timeago.jsCDN
jsDelivr: 76.7k requests in 30 days
- jsDelivr
https://cdn.jsdelivr.net/npm/timeago.js@4.0.2/ - unpkg
https://unpkg.com/timeago.js@4.0.2/ - esm.sh
https://esm.sh/timeago.js@4.0.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @expo/timeago.js | 867.8k | - | 5 years ago | CommonJS | - |
| intl-dateformat | 6.3k | - | 6 years ago | ESM + CommonJS | - |
| moment | 26.5m | - | 10 days ago | CommonJS | - |
| @ember-intl/intl-relativeformat | 7.5k | - | 7 years ago | CommonJS | - |
| moment-mini | 56.6k | - | 4 years ago | CommonJS | - |
Indexability: Indexed.