ShadowJS is a fast, lightweight JavaScript obfuscator built with Rust. It protects your code by converting readable identifiers into obscure formats, ensuring security without sacrificing performance. Whether you are protecting proprietary logic or preventing tampering, ShadowJS delivers robust obfuscation with minimal overhead.
- Fast and Lightweight: Built with Rust for maximum performance and efficiency.
- Security Focused: Helps protect your code from tampering by converting identifiers into cryptic formats.
- Easy to Use: Command-line interface for quick and simple integration.
To use ShadowJS, you'll need to have Rust installed on your system. If you don't have it yet, follow the instructions on the official Rust website.
cargo install shadowjs
You can run ShadowJS from the command line by providing the path to the input and output JavaScript files. Here's how to use it:
shadowjs <input.js> <output.js>
- input.js: The path to the JavaScript file you want to obfuscate.
- output.js: The path where the obfuscated JavaScript file will be saved.
shadowjs input.js output.min.js
This command will obfuscate input.js
and save the result in output.min.js
.
This project is licensed under the MIT License. See the LICENSE file for more details.