下载 heX


当前版本: v1.1.6 更新日志

在 heX 中可以这么写 JavaScript


var fs = require('fs');
var path = require('path');
var directory = $('#directory');
var fileList = $('#filelist');
var dir = process.cwd();
directory.value = dir;
if (!fs.existsSync(dir)) {
  fileList.innerHTML = 'No such directory.';
} else {
  fs.readdir(dir, function (error, list) {
    list.forEach(function (element, index) {
      fileList.innerHTML += path.resolve(element) + '<br />';
    });
  });
}

可以用 heX 编写出很酷的桌面应用程序

可以用 HeXium 通过 devtools 调试 Node.js


See hex-samples

Let's try!


heX - A project initiated by

Get Started!

Special thanks to these great projects: