Wakaru is the Javascript decompiler for modern frontend. It brings back the original code from a bundled and transpiled source.
- ๐ช๐ฆ Unpacks bundled JavaScript into separated modules from webpack and browserify.
- โ๏ธ๐ Unminifies transpiled code from Terser, Babel, SWC, and TypeScript.
- โจ๐ Detects and restores downgraded syntaxes (even with helpers!). See the list.
- ๐งช๐ก๏ธ All cases are protected by tests. All code is written in TypeScript.
See live demo for detailed examples.
Converts transpiled code back to its readable form and restores downgraded syntaxes.
Supports the following transpilers:
See Unminify Documentation for the full list of supported rules.
Converts bundled JavaScript into separated modules
Supports the following bundlers:
Test the tool and see it in action at Playground.
๐ง๐ง๐ง Under construction.
Over the course of developing plugins for io games, the need to understand game logic behind minified code became a recurring challenge. Existing tools often failed to produce readable code, and were often limited to a single bundler or transpiler. This repo was created to address these issues, and provide a single tool capable of handling a wide variety of bundlers and transpilers.
Usage of wakaru
for attacking targets without prior mutual consent is illegal. It is the end user's responsibility to obey all applicable local, state and federal laws. Developers assume no liability and are not responsible for any misuse or damage caused by this program.