MCPcopy Index your code
hub / github.com/KyleAMathews/react-smart-time-ago

github.com/KyleAMathews/react-smart-time-ago @v1.0.5

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.0.5 ↗ · + Follow
337 symbols 687 edges 2 files 161 documented · 48% updated 11y ago★ 332 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

react-smart-time-ago

Show relative "time ago" dates for anything in last two weeks and absolute dates from then on back

Two days ago => two days ago

Older than two weeks => Jul 4 2014

Install

npm install react-smart-time-ago

Usage

var SmartTimeAgo = require('react-smart-time-ago');

var time = new Date();

<SmartTimeAgo value={time} />

Core symbols most depended-on inside this repo

invariant
called by 236
examples/bundle.js
keyOf
called by 96
examples/bundle.js
assign
called by 34
examples/bundle.js
toInt
called by 30
examples/bundle.js
leftZeroFill
called by 18
examples/bundle.js
normalizeUnits
called by 12
examples/bundle.js
deprecate
called by 10
examples/bundle.js
absRound
called by 10
examples/bundle.js

Shape

Function 337

Languages

TypeScript100%

Modules by API surface

examples/bundle.js337 symbols

For agents

$ claude mcp add react-smart-time-ago \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact