timeago.js

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

MIT 26 个版本
安装
npm install timeago.js
yarn add timeago.js
pnpm add timeago.js
bun add timeago.js
版本列表
4.0.2 2019-12-21
4.0.1 2019-10-26
4.0.0-beta.3 2019-10-12
4.0.0-beta.2 2018-12-13
4.0.0-beta.1 2018-09-18
4.0.0 2019-10-13
3.0.2 2017-06-23
3.0.1 2017-04-04
3.0.0 2017-03-20
2.0.5 2017-02-05
2.0.4 2016-11-30
2.0.3 2016-10-13
2.0.2 2016-09-22
2.0.1 2016-09-21
2.0.0 2016-09-19
1.1.0 2016-09-10
1.0.9 2016-09-07
1.0.8 2016-08-31
1.0.7 2016-08-10
1.0.6 2016-08-07
1.0.5 2016-07-01
1.0.4 2016-06-30
1.0.3 2016-06-24
1.0.2 2016-06-24
1.0.1 2016-06-23
1.0.0 2016-06-23