{"library":"react-secure-storage","type":"library","category":null,"description":"React Secure Storage (v1.3.2) is a wrapper around localStorage that encrypts stored data using a browser fingerprint and an optional user-provided secret key. It generates a unique encryption key per browser, ensuring data can only be decrypted in the same browser that encrypted it. Supports storing String, Object, Number, and Boolean without manual serialization. Uses a singleton pattern for in-memory caching. Works with React, Vite, and Next.js via environment variables. Lightweight and dependency-free. Compatible with TypeScript.","language":"javascript","status":"active","version":"1.3.2","tags":["javascript","react secure local storage","react","local storage","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install react-secure-storage","imports":["import SecureStorage from 'react-secure-storage'","const SecureStorage = require('react-secure-storage').default","SecureStorage.setItem('key', value); const val = SecureStorage.getItem('key');"]},{"cmd":"yarn add react-secure-storage","imports":[]},{"cmd":"pnpm add react-secure-storage","imports":[]}],"homepage":"https://github.com/sushinpv/react-secure-storage#readme","github":"ssh://git@github.com/sushinpv/react-secure-storage","docs":null,"changelog":null,"pypi":null,"npm":"react-secure-storage","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}