webcrack-extensions
TypeScript icon, indicating that this package has built-in type declarations

7.2.0 • Public • Published

Test npm license Netlify Status

webcrack

webcrack is a tool for reverse engineering javascript. It can deobfuscate obfuscator.io, unminify, 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 - 500% faster than synchrony
  • 🛡️ 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');

/webcrack-extensions/

    Package Sidebar

    Install

    npm i webcrack-extensions

    Weekly Downloads

    3

    Version

    7.2.0

    License

    MIT

    Unpacked Size

    615 kB

    Total Files

    61

    Last publish

    Collaborators

    • ghostkna