Skip to main content

HTTP Module of camouflage mocking lib. Used to create mocks based on http/https/http2 protocols

This package works with Node.js
This package works with Node.js
JSR Score
58%
Published
4 months ago (0.1.3)
type alias CamouflageHttpHook

Definition

(
req: express.Request,
res: express.Response,
camouflageResponse?: CamouflageResponse,
) => void

Add Package

npx jsr add @camouflage/http

Import symbol

import { type CamouflageHttpHook } from "@camouflage/http";

Add Package

yarn dlx jsr add @camouflage/http

Import symbol

import { type CamouflageHttpHook } from "@camouflage/http";

Add Package

pnpm dlx jsr add @camouflage/http

Import symbol

import { type CamouflageHttpHook } from "@camouflage/http";