/query/read
stdParses the given query string into an object using URLSearchParams.
Type signature
(source: string) => Result
Examples
read("test&count=5");
// ⇒ { test: "", count: "5" }
Try in REPL
Questions
- How to parse a query string using URLSearchParams?