{"library":"serviceworker-storage","type":"library","category":null,"description":"A lightweight library providing a localStorage-like API for use within Service Workers. Current stable version is 0.1.0. It offers simple asynchronous get/set operations backed by IndexedDB, with support for versioned storage instances. Unlike directly using the Cache API or IndexedDB, it provides a familiar synchronous-style interface (though methods return Promises) and automatic key management. Minimal dependencies; suitable for small projects needing persistent storage in Service Workers.","language":"javascript","status":"active","version":"0.1.0","tags":["javascript","ServiceWorker","localStorage"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install serviceworker-storage","imports":["import ServiceWorkerStorage from 'serviceworker-storage'"]},{"cmd":"yarn add serviceworker-storage","imports":[]},{"cmd":"pnpm add serviceworker-storage","imports":[]}],"homepage":"https://github.com/RyotaSugawara/serviceworker-storage","github":"https://github.com/RyotaSugawara/serviceworker-storage","docs":null,"changelog":null,"pypi":null,"npm":"serviceworker-storage","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}