Closed albrnick closed 2 years ago
Try this: https://unpkg.com/timeago.js/dist/timeago.min.js
Then reference the lib with timeago.format()
Thanks a lot!! This should be in the doc...
add browser: "dist/timeago.min.js"
in package.json will be ok.
I've tried using the CDN version (since I just want to include this in my straight html page), but the CDN version:
gives the error:
Uncaught ReferenceError: exports is not defined
Thanks for your time!