fast-check alternatives
8 packages that do the same job as fast-check: rewire, ng-mocks, mockttp, mock-property, mock-socket, xhr-mocklet, @jest-mock/express, fetch-mock-cache. Figures below are from npm, GitHub and Bundlephobia.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| fast-check This package | 30m | +535% | - | 1 | 5 days ago | ESM + CommonJS | Bundled | - |
| rewire | 509.2k | +16% | - | 2 | 1 year ago | CommonJS | None | - |
| ng-mocks | 404.6k | -0% | - | 0 | 6 days ago | ESM + CommonJS | Bundled | - |
| mockttp | 399.2k | +42% | - | 40 | 13 days ago | CommonJS | Bundled | - |
| mock-property | 450.6k | +13% | - | 8 | 3 months ago | CommonJS | Bundled | - |
| mock-socket | 684.5k | +56% | - | 0 | 3 years ago | CommonJS | None | - |
| xhr-mocklet | 332.8k | +412% | - | 3 | 7 years ago | ESM + CommonJS | Bundled | - |
| @jest-mock/express | 502.9k | - | - | 1 | 1 year ago | CommonJS | Bundled | - |
| fetch-mock-cache | 456.8k | +15640% | - | 2 | 2 months ago | ESM only | Bundled | - |
12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.
Easy dependency injection for node.js unit testing
Compared with fast-check
- 59x fewer weekly downloads (509.2k vs 30m)
- 2 dependencies vs 1
- CommonJS vs ESM + CommonJS
- No types vs bundled types
- Declares no Node.js engine range vs Node.js >=12.17.0
- Last release 15 Aug 2025 vs 19 Sept 2026
- 1.7x fewer GitHub stars (3.1k vs 5.2k)
ng-mocks simplifies Angular testing with mock dependencies, shallow rendering and less boilerplate. Mock components, services, directives, pipes and modules in Angular 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 with Jasmine, Jest or Vitest.
Compared with fast-check
- 74x fewer weekly downloads (404.6k vs 30m)
- 0 dependencies vs 1
- Declares no Node.js engine range vs Node.js >=12.17.0
- Last release 18 Sept 2026 vs 19 Sept 2026
- 4.4x fewer GitHub stars (1.2k vs 5.2k)
Mock HTTP server for testing HTTP clients and stubbing webservices
Compared with fast-check
- 75x fewer weekly downloads (399.2k vs 30m)
- 40 dependencies vs 1
- CommonJS vs ESM + CommonJS
- Declares Node.js >=20.0.0 vs Node.js >=12.17.0
- Last release 11 Sept 2026 vs 19 Sept 2026
- 5.8x fewer GitHub stars (884 vs 5.2k)
Given an object and a property, replaces a property descriptor (or deletes it), and returns a thunk to restore it.
Compared with fast-check
- 67x fewer weekly downloads (450.6k vs 30m)
- 8 dependencies vs 1
- CommonJS vs ESM + CommonJS
- Declares Node.js >= 0.4 vs Node.js >=12.17.0
- Last release 20 Jun 2026 vs 19 Sept 2026
- 859x fewer GitHub stars (6 vs 5.2k)
Javascript mocking library for websockets and socket.io
Compared with fast-check
- 44x fewer weekly downloads (684.5k vs 30m)
- 0 dependencies vs 1
- CommonJS vs ESM + CommonJS
- No types vs bundled types
- Declares Node.js >= 8 vs Node.js >=12.17.0
- Last release 11 Sept 2023 vs 19 Sept 2026
- 6.4x fewer GitHub stars (806 vs 5.2k)
Utility for mocking XMLHttpRequests in the browser or nodejs.
Compared with fast-check
- 90x fewer weekly downloads (332.8k vs 30m)
- 3 dependencies vs 1
- Declares no Node.js engine range vs Node.js >=12.17.0
- Last release 20 Nov 2018 vs 19 Sept 2026
- 1031x fewer GitHub stars (5 vs 5.2k)
A lightweight Jest mock for unit testing Express
Compared with fast-check
- 60x fewer weekly downloads (502.9k vs 30m)
- CommonJS vs ESM + CommonJS
- Declares no Node.js engine range vs Node.js >=12.17.0
- Last release 3 Feb 2025 vs 19 Sept 2026
- 99x fewer GitHub stars (52 vs 5.2k)
Caching mock fetch implementation for all runtimes and frameworks.
Compared with fast-check
- 66x fewer weekly downloads (456.8k vs 30m)
- 2 dependencies vs 1
- ESM only vs ESM + CommonJS
- Declares Node.js >=22.0.0 vs Node.js >=12.17.0
- Last release 11 Jul 2026 vs 19 Sept 2026
- 5155x fewer GitHub stars (1 vs 5.2k)
Indexability: Indexed: 0 US searches/month for "fast-check alternatives".