# webcrack
**Repository Path**: wlor0623/webcrack
## Basic Information
- **Project Name**: webcrack
- **Description**: https://github.com/j4k0xb/webcrack
- **Primary Language**: Unknown
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 1
- **Created**: 2025-04-10
- **Last Updated**: 2025-05-22
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
[](https://github.com/j4k0xb/webcrack/actions/workflows/test.yml)
[](https://www.npmjs.com/package/webcrack)
[](https://github.com/j4k0xb/webcrack/blob/master/LICENSE)
[](https://app.netlify.com/sites/webcrack/deploys)
webcrack
webcrack is a tool for reverse engineering javascript.
It can deobfuscate [obfuscator.io](https://github.com/javascript-obfuscator/javascript-obfuscator), unminify,
transpile, and unpack [webpack](https://webpack.js.org/)/[browserify](https://browserify.org/),
to resemble the original source code as much as possible.
Try it in the [online playground](https://webcrack.netlify.app/) or view the [documentation](https://webcrack.netlify.app/docs).
- ๐ **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
```bash
npm install -g webcrack
```
Examples:
```bash
webcrack input.js
webcrack input.js > output.js
webcrack bundle.js -o output-dir
```
## API
```bash
npm install webcrack
```
Examples:
```js
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');
```