# webcrack-extensions

> Deobfuscate, unminify and unpack bundled javascript

Latest version **7.2.0** (published 2023-12-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install webcrack-extensions
pnpm add webcrack-extensions
yarn add webcrack-extensions
bun add webcrack-extensions
```

Provides the command `webcrack-extensions`.

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 7.2.0 |
| Published | 2023-12-20 |
| First published | 2023-12-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 10 |
| Unpacked size | 600.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2933 |
| Author | Ghost_KNA |
| Maintainers | ghostkna |
| Keywords | webpack, bundle, extract, reverse-engineering, ast, deobfuscation, unpack, debundle, deobfuscator, unminify, unbundle |

## Links

- npm: https://www.npmjs.com/package/webcrack-extensions
- Repository: https://github.com/j4k0xb/webcrack
- Homepage: https://webcrack.netlify.app
- Issues: https://github.com/j4k0xb/webcrack/issues
- npm.io page: https://npm.io/package/webcrack-extensions

## Dependencies (10)

- [debug](https://npm.io/package/debug.md) ^4.3.4
- [commander](https://npm.io/package/commander.md) ^11.0.0
- [@babel/types](https://npm.io/package/@babel/types.md) ^7.22.10
- [@babel/parser](https://npm.io/package/@babel/parser.md) ^7.22.10
- [@babel/template](https://npm.io/package/@babel/template.md) ^7.22.5
- [@babel/traverse](https://npm.io/package/@babel/traverse.md) ^7.22.10
- [@babel/generator](https://npm.io/package/@babel/generator.md) ^7.22.10
- [@codemod/matchers](https://npm.io/package/@codemod/matchers.md) ^1.7.0
- [babel-plugin-minify-mangle-names](https://npm.io/package/babel-plugin-minify-mangle-names.md) ^0.5.1
- [@babel/helper-validator-identifier](https://npm.io/package/@babel/helper-validator-identifier.md) ^7.22.5

## Alternatives

- [update-check](https://npm.io/package/update-check.md) — 4.0M weekly downloads
- [react-native-onesignal](https://npm.io/package/react-native-onesignal.md) — 134.5K weekly downloads
- [react-redux-toastr](https://npm.io/package/react-redux-toastr.md) — 33.7K weekly downloads
- [@nocobase/plugin-notification-manager](https://npm.io/package/@nocobase/plugin-notification-manager.md) — 2.0K weekly downloads
- [react-simple-toasts](https://npm.io/package/react-simple-toasts.md) — 1.9K weekly downloads

## Recent versions

- 7.2.0 (latest) — 2023-12-20

## README

[![Test](https://github.com/j4k0xb/webcrack/actions/workflows/test.yml/badge.svg)](https://github.com/j4k0xb/webcrack/actions/workflows/test.yml)
[![npm](https://img.shields.io/npm/v/webcrack)](https://www.npmjs.com/package/webcrack)
[![license](https://img.shields.io/github/license/j4k0xb/webcrack)](https://github.com/j4k0xb/webcrack/blob/master/LICENSE)
[![Netlify Status](https://api.netlify.com/api/v1/badges/ba64bf80-7053-4ed8-a282-d3762742c0dd/deploy-status)](https://app.netlify.com/sites/webcrack/deploys)

<p align="center">
  <img src="https://user-images.githubusercontent.com/55899582/231488871-e83fb827-1b25-4ec9-a326-b14244677e87.png" width="200">
</p>

<h1 align="center">webcrack</h1>

webcrack is a tool for reverse engineering javascript.
It can deobfuscate [obfuscator.io](https://github.com/javascript-obfuscator/javascript-obfuscator), unminify,
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** - 500% faster than [synchrony](https://github.com/relative/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

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

---
_Source: https://npm.io/package/webcrack-extensions · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
