Skip to content
JS
Package

graphql-mocks

Tools for setting up graphql test resolvers

v0.12.0, 28 Nov 2025MITESM + CommonJSTypes: BundledGraphQL
$ npm install graphql-mocks

Key numbers

As of 25 Sept 2026
Weekly downloads
32.1k
+16% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
9 months ago
v0.12.0
GitHub stars
68
10 forks
Open issues / PRs
14 / 5
Contributors
-
Commits, last 52 weeks
3

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 62k (14 Jul 2026)Low 12.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

32,078 downloads last week, 157,596 in the last month. The 12-month change of +16% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.12.0, 28 Nov 20259 months ago
First published
-
Last push to GitHub
28 Feb 2026209 days before the snapshot
Repository archived
No
Open issues
14
Open pull requests
5
Commits, last 52 weeks
3
Dependents on npm
1

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>= 24.0.0
Runtimes
-
Unpacked size (npm)
411 kB
Dependencies (1)
ramda
Peer dependencies (1)
graphql
npm install graphql-mocks
  • jsDelivrhttps://cdn.jsdelivr.net/npm/graphql-mocks@0.12.0/
  • unpkghttps://unpkg.com/graphql-mocks@0.12.0/
  • esm.shhttps://esm.sh/graphql-mocks@0.12.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@graphql-hive/cli281.7k-2 days agoCommonJS-
@apollo/cache-control-types2.1m-3 years agoESM + CommonJS-
gql-query-builder64.6k-2 months agoESM + CommonJS-
@graphql-yoga/node23.3k-3 years agoESM + CommonJS-
@graphql-yoga/common18.5k-3 years agoESM + CommonJS-
graphql-request6.8m-9 months agoESM + CommonJS-
@envelop/core5.5m-8 days agoESM + CommonJS-
graphql-relay198.3k-3 days agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.