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.

10 lines (9 loc) 233 B
/** * Created by hustcc on 18/5/20. * Contract: i@hust.cc */ import { register } from './register'; export { format } from './format'; export { render, cancel } from './realtime'; export { register }; export * from './interface';