Crates.io | jsexec |
lib.rs | jsexec |
version | 0.1.7 |
source | src |
created_at | 2022-11-26 13:17:50.49573 |
updated_at | 2022-11-29 07:38:58.959938 |
description | run javascript console.log to result |
homepage | |
repository | https://gitlab.com/hjiayz/jsexec.git |
max_upload_size | |
id | 723250 |
size | 3,729,225 |
use jsexec::runjs;
assert_eq!(runjs("console.log(\"hello\")").unwrap(),"hello\n");
#Cargo.toml
[workspace]
members = ["yourcrate"]
resolver = "2"