Skip to content
JS
Comparison

@copilotkit/aimock vs mock-socket

TestingPackage data 25 Sept 2026
@copilotkit/aimockv1.43.0, 22 Sept 2026

Mock infrastructure for AI application testing — point your SDK at one local port and every provider, protocol, and service answers deterministically.

$ npm install @copilotkit/aimock
mock-socketv9.3.1, 11 Sept 2023

Javascript mocking library for websockets and socket.io

$ npm install mock-socket
Metric@copilotkit/aimockmock-socketDifference
Weekly downloads1,075,059684,522@copilotkit/aimock 1.6x higher
12-month download growth-+56%-
Gzip size---
Minified size---
Dependencies00Same
Unpacked size9.6 MB326 kBmock-socket 30.1x smaller
Latest release1.43.0, 22 Sept 20269.3.1, 11 Sept 2023@copilotkit/aimock 3.0 years more recent
Releases, last 12 months690@copilotkit/aimock 69 more
First published3 Apr 202627 Nov 2014mock-socket 11.3 years earlier
GitHub stars941806@copilotkit/aimock +17%
Open issues165mock-socket 64 more
Open pull requests810mock-socket 2 more
Contributors---
Commits, last 52 weeks1,6850@copilotkit/aimock higher
TypeScript typesBundledNoneDiffers
Module formatESM + CommonJSCommonJSDiffers
Runtimes---
LicenseMITMITSame

Green marks the smaller size or the more recent release. Bold marks the higher count, with no judgement implied. Sizes are for the whole package per Bundlephobia. Growth compares the average of the last 4 weeks with the first 4 weeks of the 52-week series.

mock-socket684.5k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
Weekly npm downloads, 52 weeks. Y axis starts at zero. Values are not smoothed.

@copilotkit/aimock

Major versions
  1. 1.7.03 Apr 2026
Last 5 releases
  1. 1.43.022 Sept 2026
  2. 1.42.118 Sept 2026
  3. 1.42.013 Sept 2026
  4. 1.41.011 Sept 2026
  5. 1.40.09 Sept 2026
69 releases in total, 69 in the last 12 months

mock-socket

Major versions
  1. 0.0.127 Nov 2014
  2. 1.0.022 Dec 2015
  3. 2.0.013 Jan 2016
  4. 3.0.06 Jun 2016
  5. 4.0.03 Aug 2016
  6. 5.0.06 Sept 2016
  7. 6.0.031 Oct 2016
  8. 7.0.04 Aug 2017
  9. 8.0.05 Jul 2018
  10. 9.0.029 Jul 2019
Last 5 releases
  1. 9.3.111 Sept 2023
  2. 9.3.05 Sept 2023
  3. 9.2.114 Feb 2023
  4. 9.2.09 Feb 2023
  5. 9.1.57 Jun 2022
71 releases in total, 0 in the last 12 months
@copilotkit/aimock

-

mock-socket

-

@copilotkit/aimock

-

mock-socket

-

  • Need no runtime dependenciesBoth
  • Need both ESM and CommonJS entry points@copilotkit/aimock (@copilotkit/aimock: ESM + CommonJS; mock-socket: CommonJS)
  • Need to load it with require()Both
  • Need TypeScript types in the package itself@copilotkit/aimock (@copilotkit/aimock: Bundled; mock-socket: None)
  • Node.js version requirement@copilotkit/aimock: >=20.15.0; mock-socket: >= 8 (engines field in package.json)
  • Need the more recent release@copilotkit/aimock (1.43.0 on 22 Sept 2026 vs 9.3.1 on 11 Sept 2023)
  • Higher weekly npm downloads@copilotkit/aimock (1.1m vs 684.5k)

Each line is generated from the data above.

@copilotkit/aimock: @copilotkit/aimock npm registry, @copilotkit/aimock GitHub. Data fetched 25 Sept 2026.
mock-socket: mock-socket npm registry, mock-socket npm downloads, mock-socket GitHub. Data fetched 25 Sept 2026.

Indexability: Indexed.