Skip to content

afeiship/next-timeago

Repository files navigation

next-timeago

A time ago implement.

version license size download

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.