jstime 0.7.2

Another JS Runtime
Documentation

jstime

Another JavaScript Runtime

jstime logo. Kinda looks like shrek

Getting Started

Honestly I'm just learning rust right now 😅

$ cargo run # run a js repl!
$ cargo run path-to-js.js # run a js file!
$ cargo build --release # make a prod build

Using the jstime binary

As a repl

$ jstime

Welcome to jstime!

>>

Run a script

$ cat hello-world.js
console.log("hello world");

$ jstime hello-world.js
hello world

It's a library too!

use jstime::script;

fn main() {
  script::run("console.log('hello world')");
}

TODO