ShadowJS 0.1.0

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.
1
2
3
4
5
6
7
8
9
pub struct RegExp;

impl RegExp {
    
    pub const SPACES: &'static str = r"\s+";
    pub const COMMENTS: &'static str = r"(?s)/\*.*?\*/|//.*?$";
    pub const IDENTIFIERS: &'static str = r"\b[a-zA-Z_][a-zA-Z0-9_]*\b";
    
}