CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-http-proxy-middleware

The one-liner node.js proxy middleware for connect, express, next.js and more

92

1.24x
Quality

Pending

Does it follow best practices?

Impact

92%

1.24x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

Evaluation results

60%

-40%

API Gateway Path Transformation Service

Path rewriting

Criteria
Without context
With context

createProxyMiddleware usage

100%

100%

Regex pathRewrite

100%

0%

Multiple regex rules

100%

0%

Function-based pathRewrite

100%

100%

Target configuration

100%

100%

changeOrigin option

100%

100%

100%

API Gateway Proxy Server

Basic HTTP/HTTPS proxy

Criteria
Without context
With context

createProxyMiddleware Usage

100%

100%

Target Configuration

100%

100%

Path Filtering

100%

100%

changeOrigin Option

100%

100%

Error Event Handler

100%

100%

100%

Proxy Request Monitor

Plugin system

Criteria
Without context
With context

Plugin function signature

100%

100%

proxyReq event subscription

100%

100%

proxyRes event subscription

100%

100%

error event subscription

100%

100%

Request tracking

100%

100%

Response classification

100%

100%

Response time calculation

100%

100%

Error data capture

100%

100%

Metrics storage management

100%

100%

Metrics accessor implementation

100%

100%

100%

45%

Express Proxy with Body Parser Integration

Request body fixing

Criteria
Without context
With context

Import createProxyMiddleware

100%

100%

Import fixRequestBody

0%

100%

Create proxy middleware

100%

100%

Register fixRequestBody handler

0%

100%

Apply to JSON route

100%

100%

Apply to form route

100%

100%

Proper middleware ordering

100%

100%

70%

15%

Body-Parsing Proxy Server

Multi-content-type request body handling

Criteria
Without context
With context

Import fixRequestBody

0%

100%

Create proxy middleware

100%

100%

Configure target

100%

100%

Use on.proxyReq event

100%

100%

Apply fixRequestBody

0%

0%

Body-parser integration

100%

100%

100%

Multi-Tenant API Gateway

Dynamic target routing

Criteria
Without context
With context

createProxyMiddleware usage

100%

100%

router option

100%

100%

tenant-based routing

100%

100%

path-based routing

100%

100%

combined routing

100%

100%

changeOrigin option

100%

100%

100%

55%

Multi-Tenant API Gateway

Advanced routing logic

Criteria
Without context
With context

createProxyMiddleware usage

33%

100%

router option implementation

0%

100%

Static routing logic

100%

100%

Async dynamic routing

50%

100%

Request header access

100%

100%

Error handling for invalid tenants

50%

100%

85%

8%

API Request Router

Request path filtering

Criteria
Without context
With context

createProxyMiddleware usage

100%

100%

target configuration

100%

100%

pathFilter for string

66%

66%

pathFilter for glob

66%

66%

negation pattern

50%

75%

changeOrigin configuration

100%

100%

logging configuration

70%

100%

100%

50%

WebSocket Chat Proxy Server

Advanced WebSocket features

Criteria
Without context
With context

External upgrade handling

100%

100%

WebSocket lifecycle events

0%

100%

Upgrade request modification

0%

100%

WebSocket proxy configuration

100%

100%

HTTP proxy integration

100%

100%

100%

40%

Cross-Domain Cookie Proxy Service

Cookie domain handling

Criteria
Without context
With context

createProxyMiddleware usage

100%

100%

target configuration

100%

100%

selfHandleResponse option

0%

100%

responseInterceptor usage

0%

100%

on.proxyRes handler

100%

100%

Set-Cookie header access

100%

100%

Domain attribute removal

100%

100%

Multiple cookie handling

100%

100%

Evaluated
Agent
Claude Code
Model
Claude Sonnet 4.6

Table of Contents