@bassettsj/livestamp

A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js.

Usage no npm install needed!

<script type="module">
  import bassettsjLivestamp from 'https://cdn.skypack.dev/@bassettsj/livestamp';
</script>

README

Livestamp.js

A simple, unobtrusive jQuery plugin that provides auto-updating timeago text to your timestamped HTML elements using Moment.js.

Usage

See the livestamp documentation.

Dependencies

  • jQuery: you already know what this is
  • Moment.js: a great JavaScript library for parsing and displaying dates and times

License

Copyright (c) 2015 Matt Bradley

This software is freely distributable under the terms of the MIT License.