libui.js
Create desktop interfaces in JavaScript, backed by libui
Installation
npm install libui
Example
const libui = ; libui; const menu = 'File' label: 'Open' type: 'item' { const filepath = window; if !filepath window; return; window; } label: 'Save' type: 'item' { const filepath = window; if !filepath window; return; window; } type: 'about' { console; } type: 'check' label: 'Check this' { console; } type: 'preferences' { console; } ; // has to come before window const window = title: 'Cool' width: 700 height: 700 hasMenu: true margined: false { console }; libui;