Quick Start
Decompile your first file or unpack your first bundle.
Wakaru turns minified and bundled JavaScript into readable code. Run it without a global install:
# decompile a single file
npx wakaru input.js -o output.js
# unpack a bundle into individual modules
npx wakaru bundle.js --unpack -o out/The first command writes readable JavaScript to output.js. The second
writes recovered modules to out/. Use a new or empty output directory.
Open the output in your editor and search for a function, message, or URL you recognize. Read an unpacked bundle walks through a small example.
Install
For regular use, install the CLI globally:
npm install -g wakaru@latest
wakaru --versionPrebuilt binaries for macOS, Linux, and Windows are on GitHub Releases.
Try it in the browser
Try it in the playground with your own code or a built-in example. Everything runs in your browser. See the Playground guide for the available modes.