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

```

for workspace

```toml

Cargo.toml

[workspace] members = ["yourcrate"] resolver = "2" ```