{
 "kind": "tool",
 "slug": "fastify-websocket",
 "path": "tools/fastify-websocket/",
 "name": "@fastify/websocket",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "HTTP servers and APIs",
   "tools/http-servers/"
  ]
 ],
 "lead": "Fastify plugin adding WebSocket support for real-time bidirectional communication.",
 "chips": [
  {
   "label": "HTTP servers and APIs",
   "path": "tools/http-servers/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @fastify/websocket"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/fastify/fastify-websocket"
  },
  {
   "label": "Website",
   "href": "https://github.com/fastify/fastify-websocket#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/fastify/fastify-websocket"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 4, 2026",
   "note": "Latest GitHub release Nov 4, 2026. ",
   "src": "https://github.com/fastify/fastify-websocket"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "1 projects",
   "status": "info",
   "sub": "#75 of 102 in its category",
   "note": "Dependency in 1 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "3 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What @fastify/websocket does",
   "parts": [
    {
     "t": "prose",
     "text": "Fastify plugin adding WebSocket support for real-time bidirectional communication."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "@fastify/websocket popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "46",
       "of": "/ 100",
       "l": "Gid Score, #2470 overall"
      },
      {
       "n": "4.2M",
       "l": "downloads a week, npm"
      },
      {
       "n": "469",
       "l": "GitHub stars"
      },
      {
       "n": "1",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How @fastify/websocket is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "@fastify/websocket joined the catalog on its public numbers (4,166,129 downloads a week on npm and 469 GitHub stars), not on our project count: it is a dependency in 19 public GitHub projects of our scan, 1 of them set up for AI coding agents.",
      "Projects that use it most often also use Fastify (100.0%), tsx (63.2%), Zod (73.7%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "Fastify",
       "path": "tools/fastify/"
      },
      {
       "l": "In 63.2% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 73.7% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 52.6% of its projects",
       "v": "Fastify CORS",
       "path": "tools/fastify-cors/"
      },
      {
       "l": "In 52.6% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 36.8% of its projects",
       "v": "@fastify/static",
       "path": "tools/fastify-static/"
      },
      {
       "l": "In 36.8% of its projects",
       "v": "OpenAI",
       "path": "tools/openai-npm/"
      },
      {
       "l": "In 52.6% of its projects",
       "v": "Vitest",
       "path": "tools/vitest/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about @fastify/websocket",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/fastify",
        "Open Collective: https://opencollective.com/fastify",
        "10 GitHub sponsors"
       ]
      },
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "websocket-engineer: Use when building real-time communication systems with WebSockets or Socket.IO. Invoke for bidirectional messaging, horizontal scaling with",
        "websocket-realtime: Real-time communication patterns with WebSocket, Socket.io, Server-Sent Events, and scaling strategies",
        "websocket-security: WebSocket handshake, CSWSH, tooling (wsrepl, ws-harness, Burp), and common flaws. Use when apps use real-time channels, chat, notifications,"
       ]
      },
      {
       "title": "More in HTTP servers and APIs",
       "path": "tools/http-servers/",
       "items": [
        {
         "text": "Uvicorn",
         "path": "tools/uvicorn/"
        },
        {
         "text": "FastAPI",
         "path": "tools/fastapi/"
        },
        {
         "text": "Express",
         "path": "tools/express/"
        },
        {
         "text": "cors",
         "path": "tools/cors/"
        },
        {
         "text": "python-multipart",
         "path": "tools/python-multipart/"
        },
        {
         "text": "Hono",
         "path": "tools/hono/"
        },
        {
         "text": "Flask",
         "path": "tools/flask/"
        },
        {
         "text": "Starlette",
         "path": "tools/starlette/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "@fastify/websocket",
       "me": true,
       "facts": [
        "MIT",
        "Gid 46",
        "4.2M/wk"
       ]
      }
     ],
     "more": "Compare @fastify/websocket with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install @fastify/websocket"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for @fastify/websocket yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @fastify/websocket"
  ],
  [
   "Category",
   "HTTP servers and APIs"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Gid Score",
   "45.7"
  ],
  [
   "Rank in category",
   "#75 of 102"
  ],
  [
   "GitHub",
   "fastify/fastify-websocket"
  ],
  [
   "Last change",
   "Nov 4, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/fastify.png"
}