# json-server vs Nock

**Leader by vioscaleAI score:** json-server

| Attribute | json-server | Nock |
|---|---|---|
| **vioscaleAI score** | 62.5 (64% (medium)) | 55.7 (67% (medium)) |
| activity.commits_last_30d | - | 3 |
| adoption.dependent_repos | 85,674 | 130,286 |
| adoption.github_stars | 75,731 | 13,128 |
| content.faq | `[{"answer":"An open-source tool that generates a full-featured REST API server from a JSON or JSON5 file, enabling rapid prototyping and testing without backend development. It is indexed under API Mocking.","source":"https://github.com/pricing","question":"What is json-server?","confidence":0.6},{"answer":"json-server is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://github.com/pricing","question":"Is json-server free to use?","confidence":0.6},{"answer":"json-server supports the web and a command-line interface. Platforms we have not confirmed are simply not listed here rather than ruled out.","source":"https://github.com/pricing","question":"What platforms does json-server support?","confidence":0.6},{"answer":"Yes. json-server can be deployed self-hosted, so it does not have to run on the vendor's infrastructure.","source":"https://github.com/pricing","question":"Can json-server be self-hosted?","confidence":0.6},{"answer":"Yes. json-server is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/typicode/json-server","question":"Is json-server open source?","confidence":0.95}]` | `[{"answer":"An open-source library that allows developers to test modules making HTTP requests without external dependencies by mocking server responses. It is indexed under API Mocking.","source":"https://github.com/pricing","question":"What is Nock?","confidence":0.6},{"answer":"Nock is open source, so it can be self-hosted and used at no licence cost. It is released under the MIT licence. Pricing changes often, so verify at source before relying on it.","source":"https://github.com/pricing","question":"Is Nock free to use?","confidence":0.6},{"answer":"Yes. Nock is published under the MIT licence, a permissive licence that generally allows commercial use and modification. Licence terms can change between releases, so verify against the repository for the version you intend to use.","source":"https://github.com/nock/nock","question":"Is Nock open source?","confidence":0.95}]` |
| deployment.options | `{"self_hosted":true}` | - |
| description.long | An open-source tool that generates a full-featured REST API server from a JSON or JSON5 file, enabling rapid prototyping and testing without backend development. | A Node.js library that intercepts HTTP requests in tests, allowing you to test modules that make HTTP calls in isolation without hitting real external services. |
| features.capabilities | `{"deployment":"cli_binary","open_source":true,"mocking_mode":"static","pricing_model":"open_source","market_segment":"dev-tool"}` | `{"deployment":"embedded_library","open_source":true,"mocking_mode":"dynamic_templating","pricing_model":"open_source","market_segment":"dev-tool","proxy_passthrough":true}` |
| language.primary | JavaScript | JavaScript |
| license.spdx | MIT | MIT |
| platform.support | `{"cli":true,"web":true}` | - |
| pricing | `{"type":"open_source","summary":"Free, open-source","freeTier":true,"sourceUrl":"https://github.com/pricing","retrievedAt":"2026-08-17T21:30:41.016Z"}` | `{"type":"open_source","freeTier":true,"sourceUrl":"https://github.com/pricing","retrievedAt":"2026-09-13T19:29:56.350Z"}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | open_source |
| pricing.price_level | free | free |
| pricing.transparent | yes | - |
| release.cadence_days | 6 | 12 |
| release.history | `[{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.15","date":"2026-03-23T19:40:05Z","type":"stable","version":"v1.0.0-beta.15"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.14","date":"2026-03-20T15:15:06Z","type":"stable","version":"v1.0.0-beta.14"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.13","date":"2026-03-13T00:36:40Z","type":"stable","version":"v1.0.0-beta.13"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.12","date":"2026-02-28T00:44:28Z","type":"stable","version":"v1.0.0-beta.12"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.10","date":"2026-02-26T22:49:44Z","type":"stable","version":"v1.0.0-beta.10"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.9","date":"2026-02-19T23:37:59Z","type":"stable","version":"v1.0.0-beta.9"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.8","date":"2026-02-19T23:08:52Z","type":"stable","version":"v1.0.0-beta.8"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.7","date":"2026-02-19T22:46:20Z","type":"stable","version":"v1.0.0-beta.7"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.6","date":"2026-02-14T22:48:17Z","type":"stable","version":"v1.0.0-beta.6"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.5","date":"2026-01-22T09:26:14Z","type":"stable","version":"v1.0.0-beta.5"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.4","date":"2026-01-21T22:57:31Z","type":"stable","version":"v1.0.0-beta.4"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.3","date":"2024-09-24T13:21:29Z","type":"stable","version":"v1.0.0-beta.3"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.2","date":"2024-08-19T13:12:26Z","type":"stable","version":"v1.0.0-beta.2"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.1","date":"2024-06-04T10:10:16Z","type":"stable","version":"v1.0.0-beta.1"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-beta.0","date":"2024-05-13T13:29:13Z","type":"stable","version":"v1.0.0-beta.0"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-alpha.23","date":"2024-01-26T17:34:24Z","type":"stable","version":"v1.0.0-alpha.23"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-alpha.22","date":"2024-01-22T15:08:04Z","type":"stable","version":"v1.0.0-alpha.22"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-alpha.21","date":"2024-01-13T22:50:00Z","type":"stable","version":"v1.0.0-alpha.21"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-alpha.20","date":"2024-01-13T01:43:42Z","type":"stable","version":"v1.0.0-alpha.20"},{"url":"https://github.com/typicode/json-server/releases/tag/v1.0.0-alpha.19","date":"2024-01-12T00:10:55Z","type":"stable","version":"v1.0.0-alpha.19"}]` | `[{"url":"https://github.com/nock/nock/releases/tag/v15.0.1","date":"2026-10-06T20:53:29Z","type":"stable","version":"v15.0.1"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.16","date":"2026-10-05T19:23:05Z","type":"prerelease","version":"v15.0.0-beta.16"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0","date":"2025-09-29T21:26:04Z","type":"prerelease","version":"v15.0.0"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.15","date":"2026-09-21T19:47:59Z","type":"prerelease","version":"v15.0.0-beta.15"},{"url":"https://github.com/nock/nock/releases/tag/v14.0.17","date":"2026-07-30T18:31:48Z","type":"stable","version":"v14.0.17"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.14","date":"2026-07-22T20:30:03Z","type":"prerelease","version":"v15.0.0-beta.14"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.13","date":"2026-07-22T20:25:54Z","type":"prerelease","version":"v15.0.0-beta.13"},{"url":"https://github.com/nock/nock/releases/tag/v14.0.16","date":"2026-06-26T07:56:17Z","type":"stable","version":"v14.0.16"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.12","date":"2026-05-13T17:49:47Z","type":"prerelease","version":"v15.0.0-beta.12"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.11","date":"2026-05-07T19:33:41Z","type":"prerelease","version":"v15.0.0-beta.11"},{"url":"https://github.com/nock/nock/releases/tag/v14.0.15","date":"2026-05-07T14:32:05Z","type":"stable","version":"v14.0.15"},{"url":"https://github.com/nock/nock/releases/tag/v14.0.14","date":"2026-04-30T19:55:09Z","type":"stable","version":"v14.0.14"},{"url":"https://github.com/nock/nock/releases/tag/v14.0.13","date":"2026-04-20T20:49:07Z","type":"stable","version":"v14.0.13"},{"url":"https://github.com/nock/nock/releases/tag/v14.0.12","date":"2026-04-05T20:18:44Z","type":"stable","version":"v14.0.12"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.10","date":"2026-02-27T11:45:30Z","type":"prerelease","version":"v15.0.0-beta.10"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.9","date":"2026-02-14T22:32:01Z","type":"prerelease","version":"v15.0.0-beta.9"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.8","date":"2026-02-09T20:35:05Z","type":"prerelease","version":"v15.0.0-beta.8"},{"url":"https://github.com/nock/nock/releases/tag/v14.0.11","date":"2026-02-09T19:51:20Z","type":"stable","version":"v14.0.11"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.7","date":"2025-11-29T20:46:37Z","type":"prerelease","version":"v15.0.0-beta.7"},{"url":"https://github.com/nock/nock/releases/tag/v15.0.0-beta.6","date":"2025-08-26T19:32:51Z","type":"prerelease","version":"v15.0.0-beta.6"}]` |
| security.scorecard | 3.6 | 5.4 |
| security.trust_center | https://github.com/security | https://github.com/security |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=json-server&per_page=100","last_12m":0,"max_severity":null}` | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=npm&package_name=nock&per_page=100","last_12m":0,"max_severity":null}` |

## Capabilities (API Mocking)

| Capability | json-server | Nock |
|---|:--:|:--:|
| **Capabilities** |  |  |
| Mocking mode | Static | Dynamic templating |
| Stateful scenarios | - | - |
| Fault chaos injection | - | - |
| Openapi import | - | - |
| Proxy passthrough | - | ✓ |
| Admin API | - | - |
| Deployment | CLI binary | Embedded library |
| Legacy protocol virtualization | - | - |
| Collaboration sharing | - | - |
| Ci cd integration | - | - |
| Open source | ✓ | ✓ |
| Market segment | Dev tool | Dev tool |
| Pricing model | Open source | Open source |

*Source: vioscaleAI. Generated 2026-10-16T08:25:44.363Z. "-" = undocumented, not absent.*
