time-ago-formating
v1.2.5
Published
time ago formating
Downloads
1
Readme
Installation
npm i time-ago-formating
Examples
const { format } = require("time-ago-formating");
console.log(format(Date.now() - 1000))); // a second ago
const { format } = require("time-ago-formating");
console.log(format(Date.now() - 8000))); // 8 seconds ago