UNPKG

mixone

Version:

A cross-platform desktop application framework that enables development using JavaScript, HTML5, Electron API and Node.js. Build Windows, macOS and Linux apps with Vue/React and system APIs - that's why we call it mixone.A powerful Electron development in

9 lines (8 loc) 380 B
const bytenode = require('bytenode'); let compiledFilename = bytenode . compileFile ( { filename : './scripts/code/scripts/serve.js' , output : './scripts/code/scripts/serve.jsc' // 如果省略,则默认为 '/path/to/your/file.jsc' } ) ; console.log(compiledFilename); // const result = bytenode.runBytecode(helloWorldBytecode); // console.log(result)