decode-uri-component
Last updated
Was this helpful?
Last updated
Was this helpful?
A better decodeURIComponent
Decodes +
to a space.
Converts the BOM to a replacement character �
.
Does not throw with invalid encoded input.
Decodes as much of the string as possible.
Type: string
An encoded component of a Uniform Resource Identifier.
MIT © Sam Verschueren