esquery
estraverse
esquery | estraverse | |
---|---|---|
4 | 2 | |
789 | 921 | |
0.5% | 1.4% | |
1.9 | 0.0 | |
about 1 month ago | about 2 years ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | BSD 2-clause "Simplified" License |
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
-
Speeding up the JavaScript ecosystem part 3 – eslint
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?
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
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.
estraverse
-
Abstract Syntax Trees: They're Actually Used Everywhere -- But What Are They?
Traverse that AST and replace or inject code: Extraverse
-
The fastest way to traverse AST generated by Esprima?
Is this what you're looking for? https://github.com/estools/estraverse
What are some alternatives?
sec-literal - Security utilities to analyze ESTree Literal and JavaScript string primitive. Detect Hexadecimal, Base64, suffix and prefix patterns etc..
esprima - ECMAScript parsing infrastructure for multipurpose analysis
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
eslint-plugin-react - React-specific linting rules for ESLint
escodegen - ECMAScript code generator
Standard - 🌟 JavaScript Style Guide, with linter & automatic code fixer
neo - The application worker driven frontend framework
Visual Studio Code - Visual Studio Code
astring - 🌳 Tiny and fast JavaScript code generator from an ESTree-compliant AST.