JavaScript Toolkit provides a variety of common operations: beautify, minify, encrypt/decrypt, syntax validation, string escaping, and more.
- π¨ Beautify: Formats code with configurable indentation size (2/4/8 spaces).
- π¦ Minify: Compresses code using Terser, displaying compression ratio and space savings.
- π Encrypt/Decrypt: Supports Base64, ROT13, Hex, and Unicode escaping for simple code obfuscation.
- β
Validate: Checks JavaScript syntax and highlights error locations (displayed via alert).
- π Escape/Unescape: Escapes special characters (e.g., newlines, quotes) within strings.
- π Real-time character count is displayed below the input/output boxes, with statistics shown during minification.
- π‘ Click the "Example" button to populate a sample code snippet for easy testing.