SaaSHub helps you find the best software and product alternatives Learn more β
Top 23 JavaScript Ast Projects
-
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.
-
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.
-
gogocode
GoGoCode is a transformer for JavaScript/Typescript/HTML based on AST but providing a more intuitive API.
-
unified
βοΈ interface for parsing, inspecting, transforming, and serializing content through syntax trees
-
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.
-
csstree
A tool set for CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations
-
birdseye
Graphical Python debugger which lets you easily view the values of all evaluated expressions
-
putout
π Pluggable and configurable JavaScript Linter, code transformer and formatter, drop-in ESLint superpower replacement πͺ with built-in support for js, jsx typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way π
-
js-x-ray
JavaScript & Node.js open-source SAST scanner. A static analyser for detecting most common malicious patterns π¬.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Project mention: Make Commit in Your React Project Format-Test-Build Ready with Husky - A Step-by-Step Guide | dev.to | 2024-05-24Prettier: It makes our code prettier by formatting. It supports many languages and editors.
Project mention: I built an open-source schema visualisation tool for mongoose | dev.to | 2024-05-14Since 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.
Project mention: Which software do you use to create presentations using Vim that is superior to existing ones? | /r/neovim | 2023-12-11I also didn't try this tool but it's called RemarkJS which is named too similar to revealjs.
https://astexplorer.net - a helpful tool to see the AST version of your code ESLint Selectors - the list of selectors typescript parser playground. astexplorer analogue for typescript. It has an essential feature: ESQuery filter. It allows you to debug your selectors in real-time.
From TFA:
> My idea was that surely it's possible to write a bunch of markdown, and then have that get wrapped in a bunch of JSX tags that come pre-styled, using the styles of your existing repo? For example, what I expected was to be able to write *test* (Markdown for bold) and then get a component that looked liketest where is a library-defined React component
It surely is possible, so perhaps I can share some links if others are wondering the same thing.
If you like to roll your own solution for that, you can use the unified ecosystem: https://unifiedjs.com/
However, if you want JSX just do what everyone does and reach for MDX:
After thinking about the problem for a while I realised that I could enlist the help of CSSTree to do some of the work. The CSS Analyzer is based on CSSTree's AST, so I know how the thing works and the dependency is already on the page, so no need to download more dependencies. Prettier + Postcss cost almost 340kB to download, which isn't huge, but it would be nice if we could reduce that amount.
Project mention: I built an Markdown editor using Next.js and TailwindCss π₯ | dev.to | 2023-11-14Add Remark and Rehype plugins
See starry-night docs for more details on how it works. Some interesting points to note in the starry-night setup here are:
JavaScript Ast related posts
-
I built an open-source schema visualisation tool for mongoose
-
How to prevent Prettier putting a full stop on a new line after a link
-
Understanding Code Structure: A Beginner's Guide to Tree-sitter
-
How to create your own Eslint rule with tests, boosting the DX, and code-review
-
Im Coder
-
π THE BEST AND MOST USEFUL VSCODE EXTENSIONS π
-
Prettier: Change UseTabs to True by Default
-
A note from our sponsor - SaaSHub
www.saashub.com | 1 Jun 2024
Index
What are some of the best open-source Ast projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | prettier | 48,470 |
2 | Acorn | 10,278 |
3 | remark | 7,299 |
4 | js-code-to-svg-flowchart | 7,012 |
5 | astexplorer | 6,004 |
6 | gogocode | 5,270 |
7 | unified | 4,266 |
8 | ESDoc | 2,739 |
9 | escodegen | 2,626 |
10 | retext | 2,337 |
11 | csstree | 1,845 |
12 | micromark | 1,682 |
13 | birdseye | 1,638 |
14 | rehype | 1,641 |
15 | starry-night | 1,346 |
16 | astring | 1,146 |
17 | solhint | 996 |
18 | estraverse | 921 |
19 | esquery | 792 |
20 | webassemblyjs | 771 |
21 | putout | 664 |
22 | php-parser | 519 |
23 | js-x-ray | 210 |
Sponsored