A VM for FunctionalScript.
- Rust.
- For Windows, you may need Visual C++. You can get either
- by installing Microsoft C++ Build Tools,
- or adding Desktop development with C++ to Visual Studio.
 
To install the latest stable version from crates.io, run:
cargo install nanvmTo install the current version from the main branch, run:
cargo install --git https://github.com/functionalscript/nanvmTo unininstall the nanvm, run:
cargo uninstall nanvmConverting DJS module into one file.
nanvm INPUT_FILE OUTPUT_FILEFrom JSON to JSON:
nanvm notes/sample.json sample.jsonFrom ESM module to JSON:
nanvm nanvm-lib/test/test_cache_b.d.mjs sample.jsonFrom CommonJS module to ESM module
nanvm nanvm-lib/test/test_import_main.d.cjs sample.d.mjs