
Neutralino Has a Free API: Build Ultra-Lightweight Desktop Apps Without Bundling a Browser
What is Neutralino? Neutralino is a lightweight framework for building cross-platform desktop applications. Unlike Electron (which bundles Chromium) or Tauri (which requires Rust), Neutralino uses the OS's native webview and a tiny server — resulting in apps under 5 MB . Quick Start npm install -g @nicebook/neu neu create myapp cd myapp neu run The Neutralino API Neutralino provides a JavaScript API ( Neutralino.* ) for native operations: File System // Read a file const content = await Neutralino . filesystem . readFile ( " ./data.json " ); const data = JSON . parse ( content ); // Write a file await Neutralino . filesystem . writeFile ( " ./output.txt " , " Hello World " ); // List directory const entries = await Neutralino . filesystem . readDirectory ( " ./ " ); entries . forEach ( entry => { console . log ( ` ${ entry . entry } ( ${ entry . type } )` ); }); // Create directory await Neutralino . filesystem . createDirectory ( " ./new-folder " ); // Get file stats const stats = awa
Continue reading on Dev.to Tutorial
Opens in a new tab


