npm

Need private packages and team management tools?Check out npm Orgs. »

shaf-timeago

2.0.0 • Public • Published

It's easy peasy

<!-- Custom Elements v1 polyfill (2.7KB gzipped) -->
<script src="https://unpkg.com/@webcomponents/custom-elements@1.0.0-alpha.3"></script>
<!-- our custom element's source (1.7KB gzipped) -->
<script src="https://unpkg.com/shaf-timeago@2.0.0"></script>

Usage

<shaf-timeago>
  <time>2017-01-07T21:23:35.587Z</time>
</shaf-timeago>

This still shows if JavaScript is turned off.

Dependencies

install

npm i shaf-timeago

Downloadsweekly downloads

4

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability