# @graphql-tools/mock

> A set of utils for faster development of GraphQL tools

Latest version **9.1.14** (published 2026-09-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @graphql-tools/mock
pnpm add @graphql-tools/mock
yarn add @graphql-tools/mock
bun add @graphql-tools/mock
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 9.1.14 |
| Published | 2026-09-07 |
| First published | 2020-04-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=16.0.0 |
| Dependencies | 4 |
| Unpacked size | 116.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 5433 |
| Maintainers | dotansimha, urigo, ardatan, enisdenjo, theguild-bot |

## Links

- npm: https://www.npmjs.com/package/@graphql-tools/mock
- Repository: https://github.com/ardatan/graphql-tools
- Homepage: https://github.com/ardatan/graphql-tools#readme
- Issues: https://github.com/ardatan/graphql-tools/issues
- npm.io page: https://npm.io/package/@graphql-tools/mock

## Dependencies (4)

- [tslib](https://npm.io/package/tslib.md) ^2.4.0
- [@graphql-tools/utils](https://npm.io/package/@graphql-tools/utils.md) ^12.0.1
- [@graphql-tools/schema](https://npm.io/package/@graphql-tools/schema.md) ^10.1.1
- [fast-json-stable-stringify](https://npm.io/package/fast-json-stable-stringify.md) ^2.1.0

## Recent versions

- 9.1.14 (latest) — 2026-09-07
- 9.1.14-alpha-20260908131015-b2dfc3e4ee71c6ef42759b0256a502f523eabc05 (alpha) — 2026-09-08
- 9.1.14-rc-20260907155438-70f93ec122ac510059d67d2c95fa983767d228e4 (rc) — 2026-09-07
- 8.1.4-alpha-e6320b00.0 (beta) — 2021-07-15
- 6.2.4-alpha-dee550e0.0 (canary) — 2020-09-29
- 6.0.0-alpha.2 (next) — 2020-05-19
- 9.1.14-alpha-20260907152509-b7cc349bd7a5caa3d87fc65e40a8263f158fccb5 — 2026-09-07
- 9.1.14-alpha-20260907125251-688d2698f7b2dc5e416809134e029131bdc4ae18 — 2026-09-07
- 9.1.14-alpha-20260907124139-5ba4f97292a9c4bb81838696a2c41c5e68d242a9 — 2026-09-07
- 9.1.14-alpha-20260907122737-b1d6651183ddba10b8e9273f8a954e04e9e7c60e — 2026-09-07
- 9.1.14-alpha-20260907122548-6acc8a0e4697da092d5632e22db2c794fa7a6d62 — 2026-09-07
- 9.1.14-alpha-20260907122329-b6c58cd28d24d206e02cecdc28db1c6c2063d6d0 — 2026-09-07
- 9.1.14-alpha-20260907121829-a83ee80d70869afc901c89720c750aaaabae7a7e — 2026-09-07
- 9.1.14-alpha-20260907121647-5cfb2ae48eb48e97a9ab71450cd44ae52f71f342 — 2026-09-07
- 9.1.14-alpha-20260907015238-9ebe5a42014dfa0b23381e932c70f68985f9cf60 — 2026-09-07
- … 1614 more at https://npm.io/package/@graphql-tools/mock/versions

## README

Check API Reference for more information about this package;
https://www.graphql-tools.com/docs/api/modules/mock_src

You can also learn more about Mocking in this chapter; https://www.graphql-tools.com/docs/mocking

---
_Source: https://npm.io/package/@graphql-tools/mock · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
