{"repo":"counterfact/api-simulator","free":true,"listed":false,"github":"https://github.com/counterfact/api-simulator","clone":"git clone https://github.com/counterfact/api-simulator.git","description":"Not just a mock server. Turn an OpenAPI spec into TypeScript-based simulation, with state management, hot reload, and a REPL.","language":"TypeScript","stars":169,"topics":["front-end-development","mock-server","openapi","openapi3","swagger","typescript","openapi-generator","openapi31"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Turn an OpenAPI document into an editable, stateful local API. Counterfact is organized as a monorepo. The published counterfact package, its complete overview, and its canonical user documentation live in packages/counterfact . - Install and use Counterfact - Browse user documentation - Contribute - Review architecture decisions The root package is private and exists only to coordinate workspace builds, tests, releases, examples, and the documentation website. Focused workspace packages: - @counterfact/client — reusable, OpenAPI-aware HTTP requests without the simulator or REPL. - @counterfact/generator — route scaffolds, generated TypeScript contracts, scenarios, and compatible shared templates. - @counterfact/openapi — standalone OpenAPI loading, bundling, dereferencing, and overlays. - @counterfact/repl — an embeddable Node.js REPL over focused client and runtime contracts. - @counterfact/runtime — route dispatch, registries, validation, hot reload, proxying, and Koa/MSW adapters. - @counterfact/types — shared TypeScript contracts used by Counterfact internals and generated handlers.","default_branch":null,"files":null,"tree":[],"storefront":"/r/counterfact","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/counterfact/api-simulator/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}