{
  "name": "ws",
  "url": "https://canirequire.com/package/ws/",
  "description": "Simple to use, blazing fast and thoroughly tested websocket client and server for Node.js",
  "latest": "8.21.3",
  "latestPublished": "2026-08-07T14:10:25.816Z",
  "format": "dual",
  "summary": "ws@8.21.3 ships CommonJS and ESM builds. ws publishes both a CommonJS entry and a native ESM entry (ESM added in 8.0.0). require(\"ws\") and import \"ws\" both work on every supported Node.js version and in Bun.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "8.21.3",
  "lastCommonJsDate": "2026-08-07T14:10:25.816Z",
  "nativeEsmSince": "8.0.0",
  "types": "definitely-typed",
  "nodeEngines": ">=10.0.0",
  "deprecated": null,
  "license": "MIT",
  "repository": "https://github.com/websockets/ws",
  "weeklyDownloads": 238392234,
  "runtime": {
    "verifiedAt": "2026-09-09T15:27:31.757Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "20": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "22": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "24": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "26": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      }
    },
    "bun": {
      "require": true,
      "import": true,
      "requireError": null,
      "importError": null
    }
  },
  "formatHistory": [
    {
      "version": "8.21.3",
      "format": "dual",
      "published": "2026-08-07T14:10:25.816Z"
    },
    {
      "version": "8.21.2",
      "format": "dual",
      "published": "2026-08-03T20:37:45.880Z"
    },
    {
      "version": "8.21.1",
      "format": "dual",
      "published": "2026-07-14T17:12:25.599Z"
    },
    {
      "version": "8.21.0",
      "format": "dual",
      "published": "2026-05-22T17:59:59.453Z"
    },
    {
      "version": "8.20.1",
      "format": "dual",
      "published": "2026-05-12T15:54:40.187Z"
    },
    {
      "version": "8.20.0",
      "format": "dual",
      "published": "2026-03-21T17:31:08.578Z"
    },
    {
      "version": "8.19.0",
      "format": "dual",
      "published": "2026-01-05T20:28:13.823Z"
    },
    {
      "version": "8.18.3",
      "format": "dual",
      "published": "2025-06-28T13:28:38.606Z"
    },
    {
      "version": "8.18.2",
      "format": "dual",
      "published": "2025-05-03T05:24:48.780Z"
    },
    {
      "version": "8.18.1",
      "format": "dual",
      "published": "2025-02-21T09:43:46.292Z"
    },
    {
      "version": "8.18.0",
      "format": "dual",
      "published": "2024-07-03T16:45:31.280Z"
    },
    {
      "version": "8.17.1",
      "format": "dual",
      "published": "2024-06-16T14:49:10.217Z"
    },
    {
      "version": "8.17.0",
      "format": "dual",
      "published": "2024-04-28T05:52:58.033Z"
    },
    {
      "version": "8.16.0",
      "format": "dual",
      "published": "2023-12-26T15:48:24.452Z"
    },
    {
      "version": "8.15.1",
      "format": "dual",
      "published": "2023-12-12T20:13:49.299Z"
    },
    {
      "version": "8.15.0",
      "format": "dual",
      "published": "2023-12-09T18:12:36.901Z"
    },
    {
      "version": "8.14.2",
      "format": "dual",
      "published": "2023-09-19T15:32:45.009Z"
    },
    {
      "version": "8.14.1",
      "format": "dual",
      "published": "2023-09-08T16:04:44.943Z"
    },
    {
      "version": "8.14.0",
      "format": "dual",
      "published": "2023-09-06T14:05:15.836Z"
    },
    {
      "version": "8.13.0",
      "format": "dual",
      "published": "2023-03-10T17:57:25.728Z"
    },
    {
      "version": "8.12.1",
      "format": "dual",
      "published": "2023-02-13T20:38:37.660Z"
    },
    {
      "version": "8.12.0",
      "format": "dual",
      "published": "2023-01-07T19:45:55.760Z"
    },
    {
      "version": "8.11.0",
      "format": "dual",
      "published": "2022-11-06T20:02:55.232Z"
    },
    {
      "version": "8.10.0",
      "format": "dual",
      "published": "2022-10-24T19:09:14.174Z"
    },
    {
      "version": "8.9.0",
      "format": "dual",
      "published": "2022-09-22T19:33:48.342Z"
    },
    {
      "version": "8.8.1",
      "format": "dual",
      "published": "2022-07-15T17:15:27.842Z"
    },
    {
      "version": "8.8.0",
      "format": "dual",
      "published": "2022-06-09T19:00:36.908Z"
    },
    {
      "version": "8.7.0",
      "format": "dual",
      "published": "2022-05-26T17:30:26.965Z"
    },
    {
      "version": "8.6.0",
      "format": "dual",
      "published": "2022-05-01T19:09:35.949Z"
    },
    {
      "version": "8.5.0",
      "format": "dual",
      "published": "2022-02-07T19:44:22.138Z"
    },
    {
      "version": "8.4.2",
      "format": "dual",
      "published": "2022-01-14T14:38:26.067Z"
    },
    {
      "version": "8.4.1",
      "format": "dual",
      "published": "2022-01-13T20:09:26.459Z"
    },
    {
      "version": "8.4.0",
      "format": "dual",
      "published": "2021-12-20T20:13:39.761Z"
    },
    {
      "version": "8.3.0",
      "format": "dual",
      "published": "2021-11-23T18:01:09.784Z"
    },
    {
      "version": "8.2.3",
      "format": "dual",
      "published": "2021-10-02T18:40:10.039Z"
    },
    {
      "version": "8.2.2",
      "format": "dual",
      "published": "2021-09-08T19:50:08.556Z"
    },
    {
      "version": "8.2.1",
      "format": "dual",
      "published": "2021-08-28T16:11:24.840Z"
    },
    {
      "version": "8.2.0",
      "format": "dual",
      "published": "2021-08-18T05:24:37.452Z"
    },
    {
      "version": "8.1.0",
      "format": "dual",
      "published": "2021-08-11T20:04:46.035Z"
    },
    {
      "version": "8.0.0",
      "format": "dual",
      "published": "2021-07-28T18:13:36.766Z"
    },
    {
      "version": "7.5.13",
      "format": "cjs",
      "published": "2026-07-17T16:45:58.051Z"
    },
    {
      "version": "7.5.12",
      "format": "cjs",
      "published": "2026-07-14T17:12:09.695Z"
    },
    {
      "version": "7.5.11",
      "format": "cjs",
      "published": "2026-05-22T17:59:29.049Z"
    },
    {
      "version": "7.5.10",
      "format": "cjs",
      "published": "2024-06-16T14:48:28.590Z"
    },
    {
      "version": "7.5.9",
      "format": "cjs",
      "published": "2022-07-15T17:15:10.677Z"
    },
    {
      "version": "7.5.8",
      "format": "cjs",
      "published": "2022-05-26T17:29:59.661Z"
    },
    {
      "version": "7.5.7",
      "format": "cjs",
      "published": "2022-02-07T19:43:39.492Z"
    },
    {
      "version": "7.5.6",
      "format": "cjs",
      "published": "2021-11-23T19:45:42.539Z"
    },
    {
      "version": "7.5.5",
      "format": "cjs",
      "published": "2021-09-08T19:49:43.776Z"
    },
    {
      "version": "7.5.4",
      "format": "cjs",
      "published": "2021-08-28T16:10:23.070Z"
    },
    {
      "version": "7.5.3",
      "format": "cjs",
      "published": "2021-07-10T06:01:42.420Z"
    },
    {
      "version": "7.5.2",
      "format": "cjs",
      "published": "2021-07-04T05:37:08.825Z"
    },
    {
      "version": "7.5.1",
      "format": "cjs",
      "published": "2021-06-29T05:17:58.072Z"
    },
    {
      "version": "7.5.0",
      "format": "cjs",
      "published": "2021-06-16T13:18:12.356Z"
    },
    {
      "version": "7.4.6",
      "format": "cjs",
      "published": "2021-05-25T16:29:58.730Z"
    },
    {
      "version": "7.4.5",
      "format": "cjs",
      "published": "2021-04-18T08:22:24.041Z"
    },
    {
      "version": "7.4.4",
      "format": "cjs",
      "published": "2021-03-06T20:47:08.570Z"
    },
    {
      "version": "7.4.3",
      "format": "cjs",
      "published": "2021-02-02T19:21:50.145Z"
    },
    {
      "version": "7.4.2",
      "format": "cjs",
      "published": "2020-12-29T20:19:39.250Z"
    },
    {
      "version": "7.4.1",
      "format": "cjs",
      "published": "2020-12-04T20:48:07.177Z"
    }
  ]
}