SkillAgentSearch skills...

Esoptimize

A JavaScript AST optimizer

Install / Use

/learn @evanw/Esoptimize
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

Related Skills

View on GitHub
GitHub Stars18
CategoryDevelopment
Updated4y ago
Forks1

Languages

JavaScript

Security Score

60/100

Audited on Aug 14, 2021

No findings