S-ago
s-ago
Human readable relative times.
26 SLOC
to convert Date
objects into human readable relative timestamps, such as 7 minutes ago
or yesterday
or 2 days ago
Get it: npm install --save s-ago
Sample usage:
1 2 3 4 5 6 7 8 9 |
|
GIT FTW!