Introduction
Why Killua?
Killua is a local-storage management library for React applications.
Features
- Get data from localStorage
- Set data to localStorage
- Reducer for state management
- Selector for data access
- Expiration timer
- Schema validation
- Obfuscate data in localStorage
- Server-Side Compatibility
- TypeScript friendly
- Auto update in other tabs
- Auto update in other components
- Config file for configuration management
Installation
The Killua package lives in npm (opens in a new tab). To install the latest stable version, run the following command:
# npm
npm install killua@latest
# pnpm
pnpm install killua@latest
# yarn
yarn add killua@latest