JavaScript Ast

Open-source JavaScript projects categorized as Ast

Top 23 JavaScript Ast Projects

  • prettier

    Prettier is an opinionated code formatter.

  • Project mention: How to prevent Prettier putting a full stop on a new line after a link | dev.to | 2024-05-13

    Do you use Prettier? Have your configuration settings caused weird HTML rendering issues by adding extra whitespace where you didn't want it? Perhaps after an anchor link at the end of a paragraph? Me, too. Here's what's happening and how you might be able to fix it.

  • Acorn

    A small, fast, JavaScript-based JavaScript parser

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

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

  • astexplorer

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

  • Project mention: ESLint Plugin. What was missed in the doc? | dev.to | 2024-05-09

    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.

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

  • 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
  • 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, 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 😏

  • php-parser

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

  • 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

    SaaSHub 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).

JavaScript Ast related posts

  • I built an open-source schema visualisation tool for mongoose

    2 projects | dev.to | 14 May 2024
  • How to prevent Prettier putting a full stop on a new line after a link

    1 project | dev.to | 13 May 2024
  • Understanding Code Structure: A Beginner's Guide to Tree-sitter

    2 projects | dev.to | 6 Apr 2024
  • How to create your own Eslint rule with tests, boosting the DX, and code-review

    2 projects | dev.to | 27 Mar 2024
  • Im Coder

    2 projects | news.ycombinator.com | 24 Feb 2024
  • πŸŽ† THE BEST AND MOST USEFUL VSCODE EXTENSIONS πŸŽ†

    3 projects | dev.to | 22 Feb 2024
  • Prettier: Change UseTabs to True by Default

    1 project | news.ycombinator.com | 28 Nov 2023
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 21 May 2024
    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. Learn more β†’

Index

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

Project Stars
1 prettier 48,433
2 Acorn 10,261
3 remark 7,263
4 js-code-to-svg-flowchart 7,005
5 astexplorer 5,980
6 gogocode 5,252
7 unified 4,257
8 ESDoc 2,745
9 escodegen 2,623
10 retext 2,335
11 csstree 1,843
12 micromark 1,670
13 birdseye 1,638
14 rehype 1,629
15 starry-night 1,338
16 astring 1,144
17 solhint 995
18 estraverse 921
19 esquery 790
20 webassemblyjs 771
21 putout 660
22 php-parser 519
23 js-x-ray 198

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com