Installation
Get started with Storken by installing it via your favorite package manager.
Package Managers
npm
npm install storken
yarn
yarn add storken
pnpm
pnpm add storken
bun
bun add storken
Requirements
- React 18.0 or higher
- TypeScript 4.5 or higher (optional but recommended)
- Node.js 16 or higher
TypeScript Configuration
Storken includes TypeScript definitions out of the box. For the best experience, ensure your tsconfig.json
includes:
{
"compilerOptions": {
"strict": true,
"jsx": "react-jsx",
"moduleResolution": "node",
"esModuleInterop": true
}
}
💡 Pro Tip
Storken is only 5KB gzipped, making it one of the smallest state management libraries available!