SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Ast Open-Source Projects
-
Website: prettier.io
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
> 4 | import someConfig from '../config/SomeConfigs.json' with { type: 'json' }; | ^ 5 | 6 | /** Add @babel/plugin-syntax-import-attributes (https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes) to the 'plugins' section of your Babel config to enable parsing. If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded. You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
-
Website: postcss.org
-
Once rector gets 8.4 rules out, this will be pretty awesome:
https://github.com/rectorphp/rector/issues/8701
https://github.com/nikic/PHP-Parser/commit/7b0384cdbe03431c4...
-
Project mention: I built an open-source schema visualisation tool for mongoose | dev.to | 2024-05-14
Since mongoose schemas are javascript files, I made use of acorn (https://www.npmjs.com/package/acorn) a javascript parser written in javascript 🙃 to build the AST.
-
Keeping code clean and updated is important in software development, but refactoring can take a lot of time, especially in big projects. PHP Rector is a tool that helps automate these changes, making sure your code follows best practices and modern PHP standards.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
The amazing ast-grep tool does not support vue and scss by default but can be configured to do so.
-
Project mention: Introducing docusaurus-plugin-chat-page: An AI-Powered Chat Interface for Your Documentation | dev.to | 2025-02-22
Processes and Chunks Content: Using tools like gray-matter and remark (with strip-markdown), the plugin extracts frontmatter (such as titles and tags) and converts the Markdown into plain text. Then it splits this content into manageable chunks (with configurable maximum chunk size) while preserving metadata like file paths.
-
I'm particularly fond of Firecracker, but it’s a bit of work to set up, so if you cannot afford the time yet, you want to be on the safe side, do a combination of static analysis and time-boxing execution. You can use esprima to parse the code and check for any malicious act.
-
js-code-to-svg-flowchart
js2flowchart - a visualization library to convert any JavaScript code into beautiful SVG flowchart. Learn other’s code. Design your code. Refactor code. Document code. Explain code.
-
Project mention: Here's how to brew obfuscation in JavaScript without burning the lab: AST, Babel, plugins. | dev.to | 2025-01-09
There are different solutions for working with JS code, with differences in the final AST. In this article, we will use babel for this purpose. You don't need to install anything, you can experiment with everything on such resource as astexplorer.
-
gogocode
GoGoCode is a transformer for JavaScript/Typescript/HTML based on AST but providing a more intuitive API.
-
JavaParser
Java 1-21 Parser and Abstract Syntax Tree for Java with advanced analysis functionalities.
-
JSqlParser
JSqlParser parses an SQL statement and translate it into a hierarchy of Java classes. The generated hierarchy can be navigated using the Visitor Pattern
-
Project mention: Show HN: I built an AI agent that upgrades NPM packages | news.ycombinator.com | 2024-05-10
-
-
unified
☔️ interface for parsing, inspecting, transforming, and serializing content through syntax trees
-
Project mention: C++ Insights – See your source code with the eyes of a compiler | news.ycombinator.com | 2024-04-05
Sorry, I don't know about an Emacs plugin. All the plugins/extensions I'm aware of are listed in the Readme.md: https://github.com/andreasfertig/cppinsights/#c-insights--vi...
I'm happy to add an entry for Emacs once somebody develops a plugin for that editor.
-
compodoc
:notebook_with_decorative_cover: The missing documentation tool for your Angular, Nest & Stencil application
Project mention: Générer des documentations pour une application Angular, Nest JS, Vue JS, Node JS | dev.to | 2024-07-20Découvrez la page officielle de Compodoc !
-
-
Project mention: Refactoring with Codemods to Automate API Changes | news.ycombinator.com | 2025-01-10
https://github.com/getgrit/gritql is the best large-scale codemod / refactoring tool I've ever used.
-
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Ast discussion
Ast related posts
-
Automating PHP Refactoring with Rector
-
Diffsitter: A Tree-sitter based AST difftool to get meaningful semantic diffs
-
The Only 20 VS Code Extensions Web Developers Will Need in 2025
-
Refactoring with Codemods to Automate API Changes
-
Format Your Code Using Prettier Like a Pro
-
Types are the basic tool of software design
-
Using ast-grep with a vue project
-
A note from our sponsor - SaaSHub
www.saashub.com | 17 Mar 2025
Index
What are some of the best open-source Ast projects? This list will help you:
# | Project | Stars |
---|---|---|
1 | prettier | 50,120 |
2 | Babel (Formerly 6to5) | 43,441 |
3 | babel-parser | 37,972 |
4 | PostCSS | 28,690 |
5 | PHP Parser | 17,191 |
6 | Acorn | 10,823 |
7 | Rector | 9,440 |
8 | ast-grep | 8,311 |
9 | remark | 8,018 |
10 | esprima | 7,074 |
11 | js-code-to-svg-flowchart | 7,065 |
12 | astexplorer | 6,303 |
13 | gogocode | 5,824 |
14 | JavaParser | 5,708 |
15 | JSqlParser | 5,604 |
16 | ts-morph | 5,257 |
17 | estree | 5,212 |
18 | unified | 4,635 |
19 | cppinsights | 4,213 |
20 | compodoc | 4,043 |
21 | participle | 3,581 |
22 | gritql | 3,494 |
23 | ESDoc | 2,740 |