MCPcopy Create free account
hub / github.com/middleapi/orpc / decodeParams

Function decodeParams

packages/openapi/src/adapters/standard/utils.ts:17–19  ·  view source on GitHub ↗
(params: Record<string, string>)

Source from the content-addressed store, hash-verified

15 * @internal
16 */
17export function decodeParams(params: Record<string, string>): Record<string, string> {
18 return Object.fromEntries(Object.entries(params).map(([key, value]) => [key, tryDecodeURIComponent(value)]))
19}

Callers 2

matchMethod · 0.90
utils.test.tsFile · 0.90

Calls 1

tryDecodeURIComponentFunction · 0.90

Tested by

no test coverage detected