jstime 0.55.0

Another JS Runtime
jstime-0.55.0 is not a library.
Visit the last successful build: jstime-0.11.0

jstime

Another JavaScript Runtime

jstime logo. Kinda looks like shrek

Using the binary

You can find the latest jstime binary on the release page

Alternatively you can install with cargo

$ cargo install jstime

As a repl

$ jstime

Welcome to jstime!

>>

Run a script

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

$ jstime hello-world.js
hello world

Embed it!

Check out the README.md for jstime-core for instructions on how to embed jstime in your rust application!

Features

  • Temporal API: jstime includes support for the TC39 Temporal proposal, powered by temporal_rs. The Temporal API provides modern date and time handling with calendar and timezone awareness.
// Get current instant
const now = Temporal.Now.instant();

// Create a plain date
const date = new Temporal.PlainDate(2025, 10, 13);
console.log(date.year, date.month, date.day); // 2025 10 13

// Create a plain time
const time = new Temporal.PlainTime(15, 30, 45);
console.log(time.hour, time.minute, time.second); // 15 30 45

// Create a datetime
const dt = new Temporal.PlainDateTime(2025, 10, 13, 15, 30, 45);

// Parse instant from string
const instant = Temporal.Instant.from('2025-10-13T12:00:00Z');

Current Project Team Members

for information about the governance of the jstime project, see GOVERNANCE.md.

Chair

Collaborators

TODO

  • fetch
  • Some sort of system interface, maybe WASI