segmentio

segmentio/localstorage-retry

Durable retries with a queue held in localStorage, with a focus on browser compatibility

JavaScript
32
13
MIT License

localstorage-retry is a library that provides durable retries with a queue held in localStorage, designed to work across browser tabs with graceful fallbacks to memory when necessary. It's particularly useful for developers building web applications that need to ensure reliable processing of tasks even when users navigate between pages or close tabs, as it automatically handles task queuing, retry logic with exponential backoff, and cross-tab coordination.

Total donated
Undistributed
Share with your subscribers: