esquery VS grep-ast

Compare esquery vs grep-ast and see what are their differences.

grep-ast

CLI tool to grep files for AST patterns using css-like selector strings (by suchipi)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
esquery grep-ast
4 1
789 41
0.5% -
1.9 0.0
about 1 month ago over 1 year ago
JavaScript JavaScript
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

esquery

Posts with mentions or reviews of esquery. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-06.
  • Speeding up the JavaScript ecosystem part 3 – eslint
    2 projects | news.ycombinator.com | 6 Feb 2023
    Author here.

    We decided to open the PR nonetheless as people kept asking us about it: https://github.com/estools/esquery/pull/134

  • Do all roads lead to Vim?
    2 projects | /r/vim | 26 Dec 2021
    https://github.com/suchipi/grep-ast https://github.com/estools/esquery https://estools.github.io/esquery/ https://astexplorer.net/ https://www.youtube.com/watch?v=d0pOgY8__JM
  • eslint setting
    4 projects | /r/typescript | 4 Dec 2021
    You can make whatever rules you want (as long as they don't require type inferring), you just need to build the correct esquery. You can use this https://astexplorer.net/ just set it to @typescript-eslint/parser to make it recognize ts and jsx.

grep-ast

Posts with mentions or reviews of grep-ast. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-26.
  • Do all roads lead to Vim?
    2 projects | /r/vim | 26 Dec 2021
    https://github.com/suchipi/grep-ast https://github.com/estools/esquery https://estools.github.io/esquery/ https://astexplorer.net/ https://www.youtube.com/watch?v=d0pOgY8__JM

What are some alternatives?

When comparing esquery and grep-ast you can also consider the following projects:

estraverse - ECMAScript JS AST traversal functions

sec-literal - Security utilities to analyze ESTree Literal and JavaScript string primitive. Detect Hexadecimal, Base64, suffix and prefix patterns etc..

eslint-config-galex - hopefully the last eslint config you'll ever need - customizable & modern best practices for JS, TS, Node, React, Remix, Next, Jest, testing-library & storybook