{"library":"partyserver","type":"library","category":null,"description":"PartyServer is a TypeScript library for building real-time applications on Cloudflare Durable Objects, inspired by PartyKit. It extends Durable Objects with features like room-based routing, lifecycle hooks (`onConnect`, `onMessage`, `onClose`), a unified API for managing hibernated and non-hibernated Durable Objects, and easy broadcasting. Key differentiators from PartyKit include decoupling the URL from the server name, omitting built-in bindings for other Cloudflare services (encouraging `wrangler`'s native support), and requiring manual Durable Object bindings and migrations in `wrangler.jsonc`. The current stable version is 0.4.1, with frequent patch and minor releases, indicating active development. It is primarily designed for the Cloudflare Workers environment and leverages WebSockets for real-time communication.","language":"javascript","status":"active","version":"0.4.1","tags":["javascript","stateful","serverless","durable objects","partykit","cloudflare","workerd","real-time","websockets","typescript"],"install":[{"cmd":"npm install partyserver","imports":["import { Server } from 'partyserver';","import { routePartykitRequest } from 'partyserver';","import { PartySocket } from 'partysocket';"]},{"cmd":"yarn add partyserver","imports":[]},{"cmd":"pnpm add partyserver","imports":[]}],"homepage":"https://partyserver.dev","github":"https://github.com/cloudflare/partykit","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/partyserver","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/partyserver/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}