JavaScript Ast

Open-source JavaScript projects categorized as Ast

Top 23 JavaScript Ast Projects

  • prettier

    Prettier is an opinionated code formatter.

  • Project mention: Biome.js : Prettier+ESLint killer ? | dev.to | 2024-04-18

    If you're a developer, you're surely familiar with Prettier and ESLint. With over 8 years of existence, they have established themselves as references in the JavaScript ecosystem.

  • Acorn

    A small, fast, JavaScript-based JavaScript parser

  • Project mention: Abstract Syntax Trees and Practical Applications in JavaScript | dev.to | 2023-10-21

    Why do we then have other JavaScript parsers like babel parser, swc parser, acorn, espree and the likes since JavaScript engines have their own internal parsers?

  • 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 logo
  • remark

    markdown processor powered by plugins part of the @unifiedjs collective (by remarkjs)

  • Project mention: Which software do you use to create presentations using Vim that is superior to existing ones? | /r/neovim | 2023-12-11

    I also didn't try this tool but it's called RemarkJS which is named too similar to revealjs.

  • 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: JS2flowchart – convert any JavaScript code into beautiful SVG flowchart | news.ycombinator.com | 2023-05-12
  • astexplorer

    A web tool to explore the ASTs generated by various parsers.

  • Project mention: Understanding Code Structure: A Beginner's Guide to Tree-sitter | dev.to | 2024-04-06

    You can play with your code here, and visualise ASTs for the same.

  • 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

  • Project mention: No CMS? Writing Our Blog in React | news.ycombinator.com | 2024-02-12

    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:

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • ESDoc

    ESDoc - Good Documentation for JavaScript

  • escodegen

    ECMAScript code generator

  • retext

    natural language processor powered by plugins part of the @unifiedjs collective

  • csstree

    A tool set for CSS including fast detailed parser, walker, generator and lexer based on W3C specs and browser implementations

  • Project mention: Building a lightweight CSS formatter | dev.to | 2023-06-12

    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.

  • micromark

    small, safe, and great commonmark (optionally gfm) compliant markdown parser

  • birdseye

    Graphical Python debugger which lets you easily view the values of all evaluated expressions

  • rehype

    HTML processor powered by plugins part of the @unifiedjs collective

  • Project mention: I built an Markdown editor using Next.js and TailwindCss 🔥 | dev.to | 2023-11-14

    Add Remark and Rehype plugins

  • starry-night

    Syntax highlighting, like GitHub

  • Project mention: Astro Markdoc: Readable, Declarative MDX Alternative | dev.to | 2023-11-15

    See starry-night docs for more details on how it works. Some interesting points to note in the starry-night setup here are:

  • astring

    🌳 Tiny and fast JavaScript code generator from an ESTree-compliant AST.

  • solhint

    Solhint is an open-source project to provide a linting utility for Solidity code.

  • estraverse

    ECMAScript JS AST traversal functions

  • esquery

    ECMAScript AST query library.

  • webassemblyjs

    Toolchain for WebAssembly

  • putout

    🐊 Pluggable and configurable JavaScript Linter, code transformer and formatter with built-in ESLint and Babel support for js, jsx typescript, flow, markdown, yaml and json. Write declarative codemods in a simplest possible way 😏

  • php-parser

    :herb: NodeJS PHP Parser - extract AST or tokens (by glayzzle)

  • astq

    Abstract Syntax Tree (AST) Query Engine

  • 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.

    InfluxDB logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2024-04-18.

JavaScript Ast related posts

Index

What are some of the best open-source Ast projects in JavaScript? This list will help you:

Project Stars
1 prettier 48,186
2 Acorn 10,196
3 remark 7,172
4 js-code-to-svg-flowchart 6,986
5 astexplorer 5,924
6 gogocode 5,173
7 unified 4,234
8 ESDoc 2,745
9 escodegen 2,614
10 retext 2,331
11 csstree 1,833
12 micromark 1,654
13 birdseye 1,630
14 rehype 1,613
15 starry-night 1,328
16 astring 1,133
17 solhint 990
18 estraverse 921
19 esquery 788
20 webassemblyjs 767
21 putout 646
22 php-parser 513
23 astq 196
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