Memorio
A lightweight, type-safe state management library for JavaScript applications
Table of Contents
Features
Reactive state management with observer pattern
Persistent storage with Store API
Session management for temporary data
Type-safe with full TypeScript support
Comprehensive test coverage
Easy debugging with proxy-based state
Installation
All test suites are passing
Basic functionality tests
State management tests
Store operations tests
Cache operations tests
Observer pattern tests
Total: 25 tests passed across 5 test suites
Quick Start
API Reference
State Management
State in Memorio is globally accessible and reactive:
Observer Pattern
Observe state changes with React-like syntax:
You can use in a function outside React
In a javascript function
in a setTimeout
Store
Persistent storage for your application:
Session
Temporary storage that persists during page sessions:
Testing
Test suites are passing
Basic functionality tests
State management tests
Store operations tests
Cache operations tests
Observer pattern tests
Total: 25 tests passed across 5 test suites
Security
Security scans and reports are available at:
License
MIT (c) Dario Passariello
Created with by Dario Passariello - Copyright (c) 2025
Last updated