MCPcopy
hub / github.com/darkreader/darkreader / getEchoURL

Function getEchoURL

tests/inject/support/echo-client.ts:1–3  ·  view source on GitHub ↗
(content: string, type = 'text/plain')

Source from the content-addressed store, hash-verified

1export function getEchoURL(content: string, type = 'text/plain'): string {
2 return `http://localhost:9966/echo?${new URLSearchParams({type, content})}`;
3}
4
5export function getCSSEchoURL(content: string): string {
6 return getEchoURL(content, 'text/css');

Callers 2

getCSSEchoURLFunction · 0.85
getJSEchoURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected