post: <>(path: string,matchers: WithBodyMatcherOptions<TSearchParams, THeaders, RequestBodyType>,response: (info: ResponseResolverInfo<HttpRequestResolverExtras<Params>, RequestBodyType>) => ResponseResolverReturnType<ResponseBody> | Promise<ResponseResolverReturnType<ResponseBody>>,options?: HandlerOptions,) => HttpHandler
@dhau/msw-builders@0.0.35Built and signed on GitHub ActionsBuilt and signed on GitHub Actions
Built and signed on GitHub Actions
Some extra utilities to write MSW GraphQL and rest handlers.
This package works with Node.js, BrowsersIt is unknown whether this package works with Cloudflare Workers, Deno, Bun
JSR Score
76%
Published
3 months ago (0.0.35)
Add Package
deno add jsr:@dhau/msw-builders
Import symbol
import { type RestHandlersFactory } from "@dhau/msw-builders";
---- OR ----
Import directly with a jsr specifier
import { type RestHandlersFactory } from "jsr:@dhau/msw-builders";
Add Package
npx jsr add @dhau/msw-builders
Import symbol
import { type RestHandlersFactory } from "@dhau/msw-builders";
Add Package
yarn dlx jsr add @dhau/msw-builders
Import symbol
import { type RestHandlersFactory } from "@dhau/msw-builders";
Add Package
pnpm dlx jsr add @dhau/msw-builders
Import symbol
import { type RestHandlersFactory } from "@dhau/msw-builders";
Add Package
bunx jsr add @dhau/msw-builders
Import symbol
import { type RestHandlersFactory } from "@dhau/msw-builders";