Skip to content

Releases: DeviPrasadKL/react-smart-storage

📦 react-smart-storage v1.3.0

27 Apr 05:18

Choose a tag to compare

New Features:

  • 📊 getStorageUsage() — Get detailed storage usage (used, free, total space).
  • 📈 getStorageUsageSummary() — See a human-readable summary like "Used 0.24MB of 5MB (5%)".

Improvements:

  • 🧹 removeItems() — Improved multiple key deletion for better performance.
  • 📚 Updated README with examples for storage tracking and encryption usage.

Highlights

  • Manage browser storage more smartly with new usage tracking!
  • Continue enjoying AES encryption, TTL expiry, and dual storage support.

📥 Install / Update

npm install react-smart-storage

🚀 Thank you for using react-smart-storage!

🚀 react-smart-storage v1.2.0: TTL Support & Batch Key Deletion Now Available!

26 Apr 06:14
5be53dd

Choose a tag to compare

We’re excited to introduce react-smart-storage v2.0, a lightweight utility library designed to simplify localStorage and sessionStorage in React applications with full TypeScript support. This update brings powerful new features, including TTL (Time-To-Live) support and batch key deletion, to help manage storage more efficiently.

🔥 Key Features:

  • 🕒 TTL (Time-To-Live) Support – Automatically expire data after a specified duration to prevent stale data buildup and optimize storage.
  • 🧹 Efficient Cleanup – Choose between lazy cleanup on access or eager background cleanup for optimal storage performance.
  • 🧺 Batch Key Deletion – Easily remove multiple keys in one call using removeMultiple(keys: string[]) for better performance and cleaner code.
  • 🧠 Clean & Intuitive API – Just setItem, getItem, and go!
  • 🔒 AES Encryption Support – Secure sensitive data with optional encryption.
  • 💾 Dual Storage Support – Seamlessly switch between localStorage and sessionStorage.
  • Fully Type-Safe – Powered by TypeScript for robust, maintainable code.
  • 🚀 Lightweight & Fast – Minimal footprint, maximal convenience.

📦 Install via npm:

npm install react-smart-storage

Perfect for both beginners and seasoned developers, react-smart-storage helps you write clean, secure, and maintainable storage logic in your React apps.


v1.0.0 – Secure, Type-Safe Storage Made Easy for React

23 Apr 06:29

Choose a tag to compare

📄 Release Description:

We’re excited to introduce the first official release of react-smart-storage, a lightweight utility library designed to simplify localStorage and sessionStorage in React applications with full TypeScript support.

🔥 Key Features:

  • 🧠 Clean & Intuitive API – Just setItem, getItem, and go!
  • 🔒 AES Encryption Support – Secure sensitive data with optional encryption.
  • 💾 Dual Storage Support – Seamlessly switch between localStorage and sessionStorage.
  • Fully Type-Safe – Powered by TypeScript for robust code.
  • 🚀 Lightweight & Fast – Minimal footprint, maximal convenience.

📦 Install via npm:

npm install react-smart-storage

Perfect for both beginners and seasoned devs, react-smart-storage helps you write clean, secure, and maintainable storage logic in your React apps.