{"library":"zustand-querystring","type":"library","category":null,"description":"zustand-querystring is a middleware for Zustand that provides declarative synchronization between parts of a Zustand store's state and the URL's query string. This enables persistent and shareable application states directly embedded in the browser's URL. The current stable version is 0.7.0, with ongoing development evidenced by recent frequent releases that include bug fixes and new features. Key differentiators include flexible state selection via the `select` option, support for multiple serialization formats (e.g., `plain`, `readable`, or custom), granular control over how `null` and `undefined` values are handled (`syncNull`, `syncUndefined`), and a powerful bidirectional `map` option for complex transformations between store state and URL representation. It supports both individual query parameters for each state key (`key: false`) or consolidating the entire state into a single query parameter, and offers prefixing for managing multiple stores on the same page.","language":"javascript","status":"active","version":"0.7.0","tags":["javascript","zustand","querystring","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install zustand-querystring","imports":["import { querystring } from 'zustand-querystring';","import { plain } from 'zustand-querystring/format/plain';","import * as format from 'zustand-querystring/format/readable';"]},{"cmd":"yarn add zustand-querystring","imports":[]},{"cmd":"pnpm add zustand-querystring","imports":[]}],"homepage":null,"github":"https://github.com/nitedani/zustand-querystring","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/zustand-querystring","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-querystring/compatibility"}}