MCPcopy Create free account
hub / github.com/sindresorhus/query-string / decode

Function decode

base.js:402–404  ·  view source on GitHub ↗
(value, options)

Source from the content-addressed store, hash-verified

400}
401
402function decode(value, options) {
403 return options.decode ? decodeComponent(value) : value;
404}
405
406// The key as `parse()` would decode it, so two spellings of the same key, like `a+b` and `a%20b`, can be compared.
407function decodeQueryKey(key) {

Callers 3

parserForArrayFormatFunction · 0.85
parseFunction · 0.85
parseUrlFunction · 0.85

Calls 1

decodeComponentFunction · 0.85

Tested by

no test coverage detected