{"library":"xstate-migrate","type":"library","category":null,"description":"xstate-migrate (v0.0.8) is a migration library for persisted XState machines, enabling seamless transitions between different versions of state machine configurations. It generates JSON Patch operations that describe changes needed to update a persisted snapshot (context and state) to match a new machine definition. Supports nested/parallel state machines and context property additions/removals. Requires XState v5.28+ as a peer dependency. Key differentiator: automates migration generation via comparison of initial snapshots, preserving existing context values. Currently in early development (0.x), with TypeScript types included.","language":"javascript","status":"active","version":"0.0.8","tags":["javascript","xstate","state machine","migration","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install xstate-migrate","imports":["import { xstateMigrate } from 'xstate-migrate'","import { generateMigrations } from 'xstate-migrate'","import { applyMigrations } from 'xstate-migrate'"]},{"cmd":"yarn add xstate-migrate","imports":[]},{"cmd":"pnpm add xstate-migrate","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"xstate-migrate","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}