esoptimize

0.0.1 • Public • Published

Esoptimize

Esoptimize is a JavaScript optimizer that is designed to work well with esprima and escodegen.

Usage

Esoptimize can be installed using npm install esoptimize and used by calling esoptimize.optimize(ast) where ast is a JavaScript abstract syntax tree that conforms to the SpiderMonkey Parser API format.

Features

  • Constant propagation
  • Dead code elimination

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    3

Package Sidebar

Install

npm i esoptimize

Weekly Downloads

3

Version

0.0.1

License

none

Last publish

Collaborators

  • evanw