ECMAScript AST toolkit
Last updated a year ago by youngoat .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install astee 
SYNC missed versions from official npm registry.


ECMAScript AST toolkit

If links in this document not avaiable, please access README on GitHub directly.


You may learn some popular ECMAScript compilers in this package.





Popular Compilers:
( Compilers will create AST from code. Some of them provides methods to generate code from AST.)

  • Acorn, @npm
    A parser parsing JavaScript into an ESTree syntax tree. Many other compilers are based on it. It is also used in webpack as default parser for JavaScript.

  • @babel/parser, @npm

    The Babel parser generates AST according to Babel AST format. It is based on ESTree spec with the following deviations: (There is now an estree plugin which reverts these deviations) ...

  • babylon, @npm
    Predecessor of @babel/parser.

  • Closure Compiler

    ... a tool for making JavaScript download and run faster. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.

  • Espree, @npm

    ... started out as a fork of Esprima v1.2.2, ... is now built on top of Acorn, ...
    The goal of Espree is to produce output that is similar to Esprima with a similar API so that it can be used in place of Esprima.

  • Esprima, @npm

    ... a high performance, standard-compliant ECMAScript parser written in ECMAScript (also popularly known as JavaScript).
    Sensible syntax tree format as standardized by ESTree project

  • Shift Parser, @npm

    generates a Shift AST from ECMAScript program text

  • SpiderMonkey

    ... Mozilla's JavaScript engine written in C and C++.

  • terser, @npm

    A JavaScript parser and mangler/compressor toolkit for ES6+.

    Used by TerserWebpackPlugin which is used in webpack by default.

  • UglifyJS

    ... a JavaScript compressor/minifier written in JavaScript.

Code Generators:

  • Escodegen, @npm

    ... an ECMAScript (also popularly known as JavaScript) code generator from Mozilla's Parser API AST.

Online Tools:

Specs & Articles:


-- THE END --

Current Tags

  • 0.0.1                                ...           latest (a year ago)

1 Versions

  • 0.0.1                                ...           a year ago
Maintainers (1)
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (11)
Dev Dependencies (0)
Dependents (0)

Copyright 2014 - 2017 © |