use nu_ansi_term::Color;
pub const WORDMARK: &str = r#"
███╗ ██╗ ██████╗ ██████╗ ███████╗
████╗ ██║██╔═══██╗██╔══██╗██╔════╝
██╔██╗ ██║██║ ██║██║ ██║█████╗
██║╚██╗██║██║ ██║██║ ██║██╔══╝
██║ ╚████║╚██████╔╝██████╔╝███████╗
╚═╝ ╚═══╝ ╚═════╝ ╚═════╝ ╚══════╝
"#;
pub fn print_banner() {
let v = env!("CARGO_PKG_VERSION");
println!("{}", Color::Cyan.bold().paint(WORDMARK));
println!(
"{} {} {}",
Color::Purple.bold().paint("node-js"),
Color::White.paint(format!("v{v}")),
Color::DarkGray.paint("JavaScript on fusevm — bytecode VM + Cranelift JIT")
);
}