<Query extends Record<string, unknown>,Variables extends GraphQLVariables = GraphQLVariables,>(operationName: Parameters<GraphQLRequestHandler>[0],expectedVariables: Variables,resultProvider: ResultProvider<Query, Variables>,options?: HandlerOptions,) => GraphQLHandler
@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 GraphQlHandlersFactory } from "@dhau/msw-builders";
---- OR ----
Import directly with a jsr specifier
import { type GraphQlHandlersFactory } from "jsr:@dhau/msw-builders";
Add Package
npx jsr add @dhau/msw-builders
Import symbol
import { type GraphQlHandlersFactory } from "@dhau/msw-builders";
Add Package
yarn dlx jsr add @dhau/msw-builders
Import symbol
import { type GraphQlHandlersFactory } from "@dhau/msw-builders";
Add Package
pnpm dlx jsr add @dhau/msw-builders
Import symbol
import { type GraphQlHandlersFactory } from "@dhau/msw-builders";
Add Package
bunx jsr add @dhau/msw-builders
Import symbol
import { type GraphQlHandlersFactory } from "@dhau/msw-builders";