It is documented at windowjs.org.
Additional APIs for sound, networking and WebGL are planned for a future release.
See the FAQ for more details.
Window.js is distributed as a single binary that can be downloaded for Windows and macOS.
It can also be built from the sources for Windows, macOS and Linux.
$ windowjs examples/breakout.js
The source files can be edited and reloaded with
F5 in the main window.
F1, that can be used to diagnose errors and explore the APIs. For example, submitting this:
window.title = "Hello!"
changes the title of the main window. Errors are highlighted in the main window:
window.title = noSuchVariable;
Uncaught exceptions and console log errors are also shown in the main window. That overlay can be toggled with
help() in the console for more development tools.
Github users can also use the Github Discussions page for the project.
Report issues the Github issues tracker.
Window.js is licensed under the MIT License.