7.2.0 โ€ข Published 5 months ago

webcrack-extensions v7.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

Test npm license Netlify Status

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');