made with Svelte

Svelte Relative Time

Relative Time for Svelte

Visit Site

Description

Relative Time for Svelte

"svelte-relative-time offers a lightweight relative-time display available as a Svelte use:action or component."

  • Action version is only 1006 bytes minified / 620 bytes gzipped
  • Component version enables SSR
  • Live updates by default (can be disabled)
  • Uses single interval timer for updating all components
  • Lightweight and GC friendly (single Intl.RelativeTimeFormat used per locale)
  • Instance updates scheduled for new visible change
  • Instance updates synchronized so all happen together

Creator

Simon Green
@CaptainCodeman


Social Media Links

Svelte Flatpickr Datetime Picker
icon-eye-dark Created with Sketch. 3.107
Svelte Spinkit Collection of Loading Spinners
icon-eye-dark Created with Sketch. 2.548
Sentry for Svelte Svelte Application Monitoring
🧡 Sponsored by Friends
Svelte Slider Range Slider Component
icon-eye-dark Created with Sketch. 4.491
Svelte Inclusive Datepicker Accessible Datepicker Component
icon-eye-dark Created with Sketch. 3.637
Svelte Particles Particle Component
icon-eye-dark Created with Sketch. 4.811