ParseTimeSince
This package is to help get the time passed since some event in meaning full manner.
Installation
npm i parsetimesince
or
yarn add parsetimesince
Usage
Suppose, you have a file: test.js
const parseTimeSince = require('parsetimesince');
let elapsedTime = parseTimeSince(1198716962999)
console.log(elapsedTime)
Execute the file:
> node test
12 years ago.