MCPcopy Index your code
hub / github.com/NobyDa/Script / argsList

Function argsList

Rule-Storage/Rule-Storage.js:152–159  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

150}
151
152function argsList(data) {
153 return Array.from(
154 data.split("&")
155 .map((i) => i.split("="))
156 .map(([k, v]) => [k, decodeURIComponent(v)])
157 )
158 .reduce((a, [k, v]) => Object.assign(a, { [k]: v }), {})
159}

Callers 1

Rule-Storage.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected