|Official Page:||Go to website|
|Last Update:||July 26, 2018|
How to use it:
Install and import the js-time-diff library.
# NPM $ npm install js-time-diff --save
import TimeDiff from 'js-time-diff';
Or include the compiled and minified version of the js-time-diff library in the html.
<script src="dist/time-diff.min.js" >
Compare two dates/times:
This will output:
7 months ago