{"library":"cometd","type":"library","category":null,"description":"CometD is a scalable comet and WebSocket messaging library for web applications, providing publish/subscribe, RPC, and peer-to-peer communication patterns. The current stable version is 9.0.0, released under the Apache 2.0 license. It ships TypeScript types and supports ES modules. CometD replaces the older cometd-jQuery and provides a modern, promise-based API. It differentiates from alternatives like Socket.IO by being more lightweight and focusing on the Bayeux protocol with built-in support for long-polling, WebSocket, and extensions like time-stamping.","language":"javascript","status":"active","version":"9.0.0","tags":["javascript","comet","websocket","messaging","pubsub","publish","subscribe","rpc","p2p","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install cometd","imports":["import { CometD } from 'cometd'","import { TimeStampExtension } from 'cometd/TimeStampExtension'","import { CometD } from 'cometd'"]},{"cmd":"yarn add cometd","imports":[]},{"cmd":"pnpm add cometd","imports":[]}],"homepage":"https://cometd.org","github":"https://github.com/cometd/cometd-javascript","docs":null,"changelog":null,"pypi":null,"npm":"cometd","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}