@schmock/schmock
v2.4.0
Published
All-in-one Schmock package — installs core, faker, validation, query, openapi, and CLI
Maintainers
Readme
@schmock/schmock
All-in-one Schmock install: pulls in core, faker, validation, query, openapi, and the CLI.
Part of Schmock — mock APIs from OpenAPI specs or hand-crafted routes.
Install
bun add -d @schmock/schmockUsage
// One install brings core, faker, validation, query, openapi and the CLI.
import { schmock } from "@schmock/schmock";
import { openapi } from "@schmock/openapi";
const mock = schmock({ state: {} });
mock.pipe(await openapi({ spec: "./petstore.yaml" }));Documentation
License
MIT © Khalic Lab
