AfterPack core engine - High-performance JavaScript obfuscator
npm install @afterpack/coreThe high-performance JavaScript obfuscation engine that powers AfterPack.
Built with Rust for maximum speed — 20-70x faster than alternatives.
- Free & Production-Ready — Full obfuscation suite at no cost. Pro unlocks advanced tooling, not basic protection
- Irreversible Obfuscation — Non-linear transforms that can't be reversed by deobfuscators or AI
- Any Complexity Level — From minimal (--inflate=1) to extreme (--inflate=1000) protection
- Deterministic Builds — Same input = same output. CI cache friendly, HMR compatible
- Source Maps — Generate and chain source maps for production debugging
- Blazing Fast — Rust-powered, 20-70x faster than alternatives
- Dual Runtime — Native Node.js bindings + WASM for edge and browser
- Cross-Platform — macOS, Linux, Windows (x64 & arm64)
``bash`
npm install @afterpack/core
`javascript
import { process, version } from "@afterpack/core";
const obfuscated = process('console.log("hello")');
console.log(version()); // "0.0.1"
`
Use the CLI instead for a better experience:
`bash`
npx afterpack dist/
This package (@afterpack/core`) is the low-level engine.
- Website
- Documentation
- CLI Package
- GitHub
MIT © AfterPack