next-timeago
A time ago implement.
installation
npm install -S @jswork/next-timeago
usage
import '@jswork/next-timeago';
const str = nx.timeago('2017-03-15 13:10:45');
console.log(str);
license
Code released under the MIT license.
A time ago implement.
npm install -S @jswork/next-timeago
import '@jswork/next-timeago';
const str = nx.timeago('2017-03-15 13:10:45');
console.log(str);
Code released under the MIT license.
npm i @jswork/next-timeago
2
1.0.0
MIT
5.67 kB
5