mock-socketv9.3.1, 11 Sept 2023
Javascript mocking library for websockets and socket.io
$ npm install mock-socket| Metric | mock-socket | ts-mockito | Difference |
|---|---|---|---|
| Weekly downloads | 684,522 | 172,040 | mock-socket 4.0x higher |
| 12-month download growth | +56% | +1% | mock-socket +54 pts |
| Gzip size | - | - | - |
| Minified size | - | - | - |
| Dependencies | 0 | 1 | ts-mockito 1 more |
| Unpacked size | 326 kB | 128 kB | ts-mockito 2.6x smaller |
| Latest release | 9.3.1, 11 Sept 2023 | 2.6.1, 8 Jun 2020 | mock-socket 3.3 years more recent |
| Releases, last 12 months | 0 | - | - |
| First published | 27 Nov 2014 | - | - |
| GitHub stars | 806 | 997 | ts-mockito +24% |
| Open issues | 65 | 74 | ts-mockito 9 more |
| Open pull requests | 10 | 17 | ts-mockito 7 more |
| Contributors | - | - | - |
| Commits, last 52 weeks | 0 | 0 | Same |
| TypeScript types | None | Bundled | Differs |
| Module format | CommonJS | CommonJS | Same |
| Runtimes | - | - | - |
| License | MIT | MIT | Same |
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 weekts-mockito172k latest week
Week of 23 Sept 2025Week of 15 Sept 2026
mock-socket
Major versions
- 0.0.127 Nov 2014
- 1.0.022 Dec 2015
- 2.0.013 Jan 2016
- 3.0.06 Jun 2016
- 4.0.03 Aug 2016
- 5.0.06 Sept 2016
- 6.0.031 Oct 2016
- 7.0.04 Aug 2017
- 8.0.05 Jul 2018
- 9.0.029 Jul 2019
Last 5 releases
- 9.3.111 Sept 2023
- 9.3.05 Sept 2023
- 9.2.114 Feb 2023
- 9.2.09 Feb 2023
- 9.1.57 Jun 2022
71 releases in total, 0 in the last 12 months
ts-mockito
Major versions
- -
Last 5 releases
- -
Release count not fetched
mock-socket
-
ts-mockito
-
mock-socket
-
ts-mockito
-
- Need no runtime dependenciesmock-socket (mock-socket has 0, ts-mockito has 1)
- Module formatBoth CommonJS
- Need TypeScript types in the package itselfts-mockito (mock-socket: None; ts-mockito: Bundled)
- Node.js version requirementmock-socket: >= 8; ts-mockito: none declared (engines field in package.json)
- Need the more recent releasemock-socket (9.3.1 on 11 Sept 2023 vs 2.6.1 on 8 Jun 2020)
- Higher weekly npm downloadsmock-socket (684.5k vs 172k)
Each line is generated from the data above.
- @copilotkit/aimock vs mock-socketNo search data
- mock-socket vs ng-mocksNo search data
- mockttp vs ts-mockitoNo search data
mock-socket: mock-socket npm registry, mock-socket npm downloads, mock-socket GitHub. Data fetched 25 Sept 2026.
ts-mockito: ts-mockito npm registry, ts-mockito npm downloads, ts-mockito GitHub. Data fetched 25 Sept 2026.
Indexability: Indexed.