MCPcopy Create free account
hub / github.com/troch/path-parser / encodeURIComponentExcludingSubDelims

Function encodeURIComponentExcludingSubDelims

src/encoding.ts:25–26  ·  view source on GitHub ↗
(segment: string)

Source from the content-addressed store, hash-verified

23 | 'legacy'
24
25export const encodeURIComponentExcludingSubDelims = (segment: string): string =>
26 segment.replace(excludeSubDelimiters, match => encodeURIComponent(match))
27
28const encodingMethods: Record<
29 URLParamsEncodingType,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…