Skip to content

qs

qs

qs is used to parse and format query strings.

It is useful when working with URL parameters.

Parse a Query String

const obj = modules.qs.parse("a=1&b=2")

Example Output

obj → { a: "1", b: "2" }

Official Documentation

qs Docs