There is a project I am (ca 2026) developing [SciLIte](https://foo123.github.io/examples/scilite/) which is a lite **scientific computing environment** in pure JavaScript which supports syntax and functions **similar to Octave/Matlab** and can run both on browser and nodejs. So it provides a functional way to run Matlab code directly as-is in JavaScript.
It is work in progress and new features and functions are added, but many standard Octave/Matlab functions are already fully supported.
[](https://i.sstatic.net/fzl3qeP6.png)
I have developed a lite **scientific computing environment** in pure JavaScript [SciLIte](https://foo123.github.io/examples/scilite/) which supports syntax and functions **similar to Octave/Matlab** and can run both on browser and nodejs. So it provides a way to combine Matlab code with JavaScript.
It is work in progress (ca 2026) and new features and functions are added, but already many standard Octave/Matlab functions are fully supported.
[](https://i.sstatic.net/fzl3qeP6.png)