UNPKG

timeago.js

Version:

timeago.js is a simple library (only 1kb) to used to format datetime with `*** time ago` statement. eg: '3 hours ago'. localization supported.

2 lines (1 loc) 75 B
export default function (number: number, index: number): [string, string];