Elestia Open Source Ratings

Mocking and test data

Fake APIs, functions and data in tests. We rate 10; Mock Service Worker leads with 8.5 out of 10.

8.5Mock Service WorkerWeb and full-stack TypeScript teams that want one set of network mocks for unit tests, browser tests, Storybook and local development.6.68.67.77.68.47.4
8.1FakerAny JS/TS project that needs realistic, locale-aware, seedable fake data for tests, fixtures, database seeds or demos.6.58.68.06.97.07.7
7.1NockNode.js backend, CLI and SDK test suites that want short, strict HTTP request expectations and a recorder, with no browser tests.4.97.66.76.86.57.5
6.9MockttpTeams writing end-to-end or integration tests that must mock or rewrite real HTTP(S) traffic from separate processes, browsers or devices through a proxy.3.97.97.23.85.06.5
6.9Sinon.JSTeams on Mocha, node:test or another runner without built-in mocks who want mature spies, stubs and fake timers that work with any framework.5.97.47.17.16.97.7
6.5FisheryTypeScript teams that want typed, overridable factories for test objects, usually used together with Faker.4.37.45.23.85.37.6
5.7fetch-mockTeams that want light, function-level stubbing of fetch in Jest, Vitest or the browser without setting up a mock server.5.36.85.35.04.46.8
5.6JSON ServerFrontend developers who need a throwaway local REST backend from a JSON file for prototypes, demos or workshops.5.06.04.15.84.45.7
5.4testdouble.jsTeams doing outside-in TDD on Node who want a strict when/verify API that works with any test runner and can replace ES modules.4.86.65.93.23.96.6
4.1Mirage JSFront-end teams that want a stateful, relational fake backend for prototypes or demos, or that already have a large Mirage setup.4.85.92.33.84.15.9

The numbers

Read from GitHub, npm and the OSV advisory database on 21 November 2026. Downloads also count build servers and installs by other tools, and they grow for almost every package: for the median project we rate, they are ×4.1 of a year before.

ProjectDownloads, 4 weeksIn a yearGitHub starsCommits, 12 monthsLast npm releaseAdvisories, 24 months
Mock Service Worker135M×4.718k123Nov 20260
Faker100M×2.616k482Aug 20261
Nock34M+74%13k32Nov 20260
Mockttp2.6M×2.4889135Oct 20260
Sinon.JS55M+58%9.8k117Jul 20260
Fishery6.2M×3.01k5Dec 20250
fetch-mock6.2M+44%1.3k82Oct 20250
JSON Server1.7M+23%76k60Mar 20260
testdouble.js579k−18%1.4k51Oct 20260
Mirage JS1.6M+41%5.5k0Oct 20230