# JavaScript Time Ago — card for AI agents

Localized relative date/time formatting utility.

Category: Utilities · npm package `javascript-time-ago` · latest version 2.6.4 (checked 2026-11-04)
Install: `npm install javascript-time-ago`
License: MIT (permissive)

In your own product (generator, app, hosted service): **yes**. Permissive license: ship it inside your own product, closed or open source, and keep its license and copyright notice.

## Numbers (AgentGid data)
- Gid Score: 41.4 (#2978 of all tools, 318 of 408 in its category)
- Used in 1 public projects set up for AI coding agents (0.0%)
- Downloads last week: 718,538 (as of 2026-11-24), +58.1% over 4 weeks

## Often used with
dotenv 60.0%, TypeScript 100.0%, Solana SPL Token 40.0%, Solana Web3.js 40.0%, ts-node 40.0%, Model Context Protocol SDK (JavaScript) 40.0%

## Checked alternatives (same job)
- date-fns: https://agentgid.com/tools/date-fns/agent.md
- Day.js: https://agentgid.com/tools/dayjs/agent.md

## Links
- AgentGid page: https://agentgid.com/tools/javascript-time-ago/
- Homepage: https://gitlab.com/catamphetamine/javascript-time-ago#readme

---
AgentGid's catalog is curated: every entry was checked against the maker's official pages (registry, repository, license and pricing pages) on the date shown; a license value shows the quote it stands on wherever AgentGid has one. Usage numbers come from AgentGid's own scan of public repositories set up for AI coding agents. Claims by makers are reported, not tested by AgentGid.
