| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
node-ui adds additional GUI core modules to node. The goal is to provide a good cross-platform wrapper with a clear migration path towards pure web-apps (eg. for apps that require a lot of bandwidth).
node is embed as a static or dynamic library so no child processes are needed. Eventually this will allow to create applications written in Javascript to be distributed as a single self-contained MyApplication.exe or MyApplication.app
main.js:
var ui = require('ui');
var window = new ui.WebWindow(400, 300, "Hello World [ACTIVE]");
window.load(function(stream) { stream.write("<html><body><h1>Hello World! :)</h1></body></html>"); });
window.show();
Launch it:
node-ui main.js
| Back | FazBrowse Home | New Git URL |