qs

A querystring parser that supports nesting and arrays, with a depth limit

esquery

A query library for ECMAScript AST using a CSS selector like query language.