jsexec

Crates.iojsexec
lib.rsjsexec
version0.1.7
sourcesrc
created_at2022-11-26 13:17:50.49573
updated_at2022-11-29 07:38:58.959938
descriptionrun javascript console.log to result
homepage
repositoryhttps://gitlab.com/hjiayz/jsexec.git
max_upload_size
id723250
size3,729,225
ppc (hjiayz)

documentation

README

    use jsexec::runjs;
    assert_eq!(runjs("console.log(\"hello\")").unwrap(),"hello\n");

for workspace

#Cargo.toml
[workspace]
members = ["yourcrate"]
resolver = "2"
Commit count: 20

cargo fmt