{"library":"zustand-computed","type":"library","category":null,"description":"Zustand-computed is a lightweight, TypeScript-friendly middleware designed for the Zustand state management library, enabling the creation of derived or 'computed' state based on the existing store state. The current stable version is 2.1.2, released in April 2026. The package maintains an active release cadence, with multiple bug fixes and minor features released within the last year, demonstrating ongoing development and support. Its primary differentiator is its simplicity and direct integration with Zustand's middleware pattern, providing a straightforward way to add calculated properties to a store without manual memoization or complex selectors. It focuses on functional transformations and offers options to optimize recomputation with `keys` or a `shouldRecompute` function, differentiating it from purely selector-based approaches by integrating computed values directly into the store's state tree.","language":"javascript","status":"active","version":"2.1.2","tags":["javascript","zustand","computed","calculated","state","react","plugin","middleware","npm","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install zustand-computed","imports":["import { createComputed } from 'zustand-computed'","import { create } from 'zustand'","type ComputedStore = { countSq: number }"]},{"cmd":"yarn add zustand-computed","imports":[]},{"cmd":"pnpm add zustand-computed","imports":[]}],"homepage":null,"github":"https://github.com/chrisvander/zustand-computed","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/zustand-computed","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/zustand-computed/compatibility"}}