Skip to content

j4k0xb/webcrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6403a25 · Apr 2, 2025
Apr 2, 2025
Aug 17, 2024
Apr 2, 2025
Apr 2, 2025
Jun 5, 2024
Dec 1, 2023
Dec 1, 2023
Dec 2, 2023
Apr 2, 2025
Dec 17, 2023
Dec 23, 2023
Apr 20, 2024
Apr 1, 2025
Apr 1, 2025
Dec 1, 2023
Apr 1, 2025
Jul 12, 2024
Dec 1, 2023

Repository files navigation

Test npm license Netlify Status

webcrack

webcrack is a tool for reverse engineering javascript. It can deobfuscate obfuscator.io, unminify, transpile, and unpack webpack/browserify, to resemble the original source code as much as possible.

Try it in the online playground or view the documentation.

  • 🚀 Performance - Various optimizations to make it fast
  • 🛡️ Safety - Considers variable references and scope
  • 🔬 Auto-detection - Finds code patterns without needing a config
  • ✍🏻 Readability - Removes obfuscator/bundler artifacts
  • ⌨️ TypeScript - All code is written in TypeScript
  • 🧪 Tests - To make sure nothing breaks

Command Line Interface

npm install -g webcrack

Examples:

webcrack input.js
webcrack input.js > output.js
webcrack bundle.js -o output-dir

API

npm install webcrack

Examples:

import fs from 'fs';
import { webcrack } from 'webcrack';

const input = fs.readFileSync('bundle.js', 'utf8');

const result = await webcrack(input);
console.log(result.code);
console.log(result.bundle);
await result.save('output-dir');