Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

astee

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

astee

ECMAScript AST toolkit

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

astee

ECMAScript AST toolkit

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

Description

You may learn some popular ECMAScript compilers in this package.

ToC

Terms

References

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

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

  • [@babel/parser]4, @npm

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

  • babylon, @npm
    Predecessor of [@babel/parser]4.

  • 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]5 v1.2.2, ... is now built on top of [Acorn]1, ...
    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]5, @npm

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

  • Shift Parser, @npm

    generates a Shift AST from ECMAScript program text

  • [SpiderMonkey]6

    ... 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]3 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:

Others:

-- THE END --

Footnotes

  1. https://github.com/acornjs/acorn 2

  2. https://github.com/estree/estree 2 3 4

  3. https://webpack.js.org/ 2

  4. https://babeljs.io/docs/en/next/babel-parser.html 2

  5. https://esprima.org/ 2 3

  6. https://developer.mozilla.org/en-US/docs/Mozilla/Projects/SpiderMonkey

Keywords

FAQs

Package last updated on 14 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc