This repository contains several JavaScript dead code elimination tools:
- basic: Dynamic Node.js script that removes dead code by marking all functions, loading the web application and removing uncalled functions.
- static: Node.js script that uses static analysis to generates a call graph to remove uncalled functions.
- dynamic: Updated and more stable version of the basic script.
- hybrid: Dead code elimination tool that combines static and dynamic approaches, and allows for custom heuristics.