{"library":"expirable-storage","type":"library","category":null,"description":"Expirable data storage wrapper around localStorage and sessionStorage for the browser. Version 1.0.0 with no release cadence reported. Supports automatically expiring items based on a TTL in seconds, and removes expired entries on getItem access. Lightweight, TypeScript-first package with no dependencies. Differentiates from similar libraries (e.g., localForage, idb-keyval) by providing a simple, symmetrical expirable wrapper for both persistent and session scopes.","language":"javascript","status":"active","version":"1.0.0","tags":["javascript","expirable-storage","expirable","localstorage","sessionstorage","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install expirable-storage","imports":["import { expirableLocalStorage } from 'expirable-storage'","import { expirableSessionStorage } from 'expirable-storage'","import type { ExpirableStorage } from 'expirable-storage'"]},{"cmd":"yarn add expirable-storage","imports":[]},{"cmd":"pnpm add expirable-storage","imports":[]}],"homepage":"https://github.com/wayfair-incubator/expirable-storage","github":"https://github.com/wayfair-incubator/expirable-storage","docs":null,"changelog":null,"pypi":null,"npm":"expirable-storage","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}