| Crates.io | jstime |
| lib.rs | jstime |
| version | 0.65.0 |
| created_at | 2020-08-20 04:08:35.990682+00 |
| updated_at | 2025-12-02 07:07:10.983145+00 |
| description | Another JS Runtime |
| homepage | |
| repository | https://github.com/jstime/jstime |
| max_upload_size | |
| id | 278490 |
| size | 76,336 |
Another JavaScript Runtime

You can find the latest jstime binary on the release page
Alternatively you can install with cargo
$ cargo install jstime
$ jstime
Welcome to jstime!
>>
$ cat hello-world.js
console.log("hello world");
$ jstime hello-world.js
hello world
For benchmarking or performance-critical scripts, use the --warmup flag to allow V8's JIT compiler to optimize the code:
$ jstime --warmup 10 benchmark.js
This runs the script 10 times before the actual execution, allowing TurboFan to profile and optimize hot code paths.
Check out the README.md for jstime-core for instructions on how to embed jstime in your rust application!
jstime provides a minimal and performant JavaScript runtime with essential APIs.
For detailed documentation on all supported features, see Documentation.
👉 Check out the examples/ directory for runnable code samples!
console.log(), console.error(), etc.setTimeout(), setInterval(), and clearing functionsfetch(), Headers, Request, ResponseReadableStream, WritableStream, TransformStream for streaming data processingURL and URLSearchParams for URL manipulationperformance.now()Event and EventTarget for event handlingqueueMicrotask() for fine-grained async controlstructuredClone() for deep cloning of complex objectsatob() and btoa() for base64 encoding/decodingTextEncoder and TextDecoder for UTF-8 encoding/decodingcrypto.getRandomValues(), crypto.randomUUID(), crypto.subtle.digest() for cryptographic operationsprocess.env, process.argv, process.cwd(), process.exit() for process informationfs/promises with readFile(), writeFile(), mkdir(), stat(), and moreimport/export with top-level await, dynamic import(), and Node.js-compatible node_modules resolutionjstime includes comprehensive test coverage including conformance tests for standard APIs:
Run all tests with:
cargo test
For more details on conformance testing, see core/tests/CONFORMANCE_TESTS.md.