zestjq-css Demo

Client-side demos of zest (CSS selector engine) and zestjq (jq JSON-filter language), integrated to query JSON-valued attributes in live Wikipedia articles.
To use these tools in your own project, see the zestjq-css package README.

Zest github:cscott/zest

A fast CSS selector engine extended with a [attr/jq] operator that evaluates jq expressions against JSON-valued attributes — ideal for querying MediaWiki Parsoid HTML.

Fetch a page and enter a selector.
MediaWiki attributes
data-mw / jq (/ operator)
Results will appear here.
ZestJQ npm install zestjq

A native TypeScript/JavaScript implementation of the jq JSON query language. Populated automatically from the data-mw attribute of matched elements.

Press Run to evaluate the filter.
MediaWiki data-mw
Live Document
Fetching Wikipedia article…