{"bin":"bin/counterfact.js","bugs":"https://github.com/counterfact/api-simulator/issues","dist":{"shasum":"486a5ab2e25c80dc17184aecc90e8b58db0a84c9","tarball":"https://registry.npmjs.org/counterfact/-/counterfact-3.3.0.tgz","fileCount":95,"integrity":"sha512-PF2C43CNyVRzIB38r3mGv6LSfHmYZ7X4B0JCI6sGJsgo5i2wswnNeEjzJlu+sAnnRspG19F2I5wM9Ik+f9LnEw==","signatures":[{"sig":"MEQCIFSIdxLESwy5b5n5kRnE4qSIeLfAQsYzT7q2Ioic605SAiADKXB/KGz5UnCfBCjFtwKnYBv4sNcu9qcdYx5yJULJNw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIAnIcA/DAvIc+ZHVTEcP5RZ56SY5At7rQsEkYnr5mKQ5AiAupKtwQiu0zxSbgjhQV8YfoX6SkE0QwHWZFwPRy4CXAg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":532997},"main":"./dist/app.js","name":"counterfact","type":"module","types":"./dist/app.d.ts","author":"Patrick McElhaney <pmcelhaney@gmail.com>","engines":{"node":">=22.22"},"exports":{".":{"types":"./dist/app.d.ts","import":"./dist/app.js"}},"funding":{"url":"https://github.com/sponsors/pmcelhaney","type":"github"},"gitHead":"ceb4818ebc2b31790251db6fb428a0eab3e217bd","license":"MIT","scripts":{"test":"yarn --cwd ../.. test:native && yarn test:jest","build":"yarn workspace @counterfact/generator build && yarn workspace @counterfact/runtime build && yarn workspace @counterfact/client build && yarn workspace @counterfact/repl build && rimraf dist && tsc --build --force","prepack":"yarn build","test:jest":"node --experimental-vm-modules ../../node_modules/jest-cli/bin/jest.js --config ../../jest.config.js --testPathIgnorePatterns=black-box --testPathIgnorePatterns=examples","go:example":"yarn build && node ./bin/counterfact.js ./test/fixtures/openapi/example.yaml out","counterfact":"./bin/counterfact.js","go:petstore":"yarn build && yarn counterfact https://petstore3.swagger.io/api/v3/openapi.json out","go:petstore2":"yarn build && yarn counterfact https://petstore.swagger.io/v2/swagger.json out","go:multiple-apis":"yarn build && node ./bin/counterfact.js --config ./test/fixtures/config/multiple-apis.yaml","go:multiple-versions":"yarn build && node ./bin/counterfact.js --config ./test/fixtures/config/multiple-versions.yaml","test:packed-consumer":"node test/package/counterfact-consumer-smoke.mjs"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"9965b747-b2a8-47ac-88e1-de6e1f177531"}},"homepage":"https://counterfact.dev","keywords":["mock","mock-server","openapi","swagger","typescript","api","api-mocking","api-first","openapi-mock","mock-api","dev-tools","frontend","backend","prototyping","testing","stateful","repl","hot-reload","cli","openapi-tools","swagger-tools"],"repository":{"url":"git+https://github.com/counterfact/api-simulator.git","type":"git"},"description":"Turn an OpenAPI document into a useful local API for frontend development in one command.","directories":{},"maintainers":[{"name":"pmcelhaney","email":"pmcelhaney@gmail.com"}],"sideEffects":false,"dependencies":{"open":"11.0.4","debug":"4.4.3","js-yaml":"5.5.0","commander":"15.0.0","typescript":"6.0.3","posthog-node":"5.57.2","http-terminator":"3.2.0","@counterfact/repl":"0.1.13","@counterfact/client":"0.2.2","@counterfact/openapi":"0.1.7","@counterfact/runtime":"0.5.0","@counterfact/generator":"1.3.0"},"typesVersions":{"*":{"*":["dist/app.d.ts"]}},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/counterfact_3.3.0_1795540351034_0.662270964918372","host":"s3://npm-registry-packages-npm-production"},"_id":"counterfact@3.3.0","version":"3.3.0"}