jstime_core

Crates.iojstime_core
lib.rsjstime_core
version0.54.0
sourcesrc
created_at2020-08-26 04:07:42.620577
updated_at2024-07-30 03:13:12.151863
descriptionAnother JS Runtime
homepage
repositoryhttps://github.com/jstime/jstime
max_upload_size
id280848
size22,848
Myles Borins (MylesBorins)

documentation

README

jstime Core Crate

The main dependency of this crate is rusty_v8 which provides the V8-Rust bindings.

API

use jstime_core as jstime;

fn main() {
    jstime::init(None);
    let mut scope = jstime::JSTime::new(
        jstime::Options::default()
    );
    scope.run_script("console.log('Hello, World!');", "jstime")
        .expect("ruhroh something went wrong");
}
Commit count: 579

cargo fmt