MCPcopy Create free account
hub / github.com/massCodeIO/massCode / interpolate

Function interpolate

src/main/ipc/handlers/http.ts:31–36  ·  view source on GitHub ↗
(
  template: string,
  variables: Record<string, string>,
)

Source from the content-addressed store, hash-verified

29})
30
31export function interpolate(
32 template: string,
33 variables: Record<string, string>,
34): string {
35 return interpolateHttpVariables(template, variables)
36}
37
38function interpolateAuth(
39 auth: HttpAuth,

Callers 2

interpolateAuthFunction · 0.85
interpolateRequestFunction · 0.85

Calls 1

interpolateHttpVariablesFunction · 0.90

Tested by

no test coverage detected