A query library for ECMAScript AST using a CSS selector like query language. With Support for JSX.
npm install esquery-jsx#ESQuery-jsx
ESQuery-jsx is a library for querying the AST output by Esprima for patterns of syntax using a CSS style selector system. With JSX support.
Thanks to allesklarbeidir for raising the following PR.
esquery-jsx;For JSX-Support use:
var esquery = require("esquery/jsx");
instead of:
var esquery = require("esquery");
(Note the '/jsx' part)
