Skip to content

encodeSegment

const encodeSegment: (part) => string = encodeSegmentImpl;

Injective, reversible; the extracted-value namespace’s encoder, re-exported.

Percent-encode anything outside a conservative filesystem-safe set. Injective.

Parameter Type

part

string

string