Paul Krill
Editor at Large

Neutralino takes aim at Electron and NW.js

news
Mar 3, 20202 mins

Experimental framework for building cross-platform apps with JavaScript promises a lightweight footprint and freedom from Node.js

abstract binary code stream
Credit: Aleksei Derin / Getty Images

Neutralino, an open source development framework for building cross-platform applications with JavaScript or TypeScript, is being positioned as a portable, lightweight platform that offers lower memory consumption and ease of use when compared to tools such as GitHub’s Electron and NW.js.

Built as a proof of concept for lightweight, Electron-like applications, Neutralino leverages JavaScript or TypeScript and companion technologies CSS and HTML to build apps that run on Windows, MacOS, and Linux. Unlike Electron and NW.js, which also support cross-platform development via JavaScript, Neutralino does not require the installation of Node.js and its dependencies.

Neutrino is still considered be in an experimental stage, with security improvements and perhaps refactoring capabilities anticipated. But the developers behind the open source project say it is nonetheless production-worthy.

Developers can download the portable Neutralino SDK. The Neutralino runtime is a lightweight server that listens to requests from the client SDK, which is a JavaScript library that communicates with the server via XMLHttpRequest. A separate thread is deployed for running a native window that holds the built-in browser component for rendering the applications. Client SDK functions and modules are used to make system calls asynchronously.

Other features of Neutralino include:

  • A lightweight footprint. An uncompressed app consumes roughly 5MB and a compressed app about 1MB.
  • Template-based development. Applications can be built via several pre-built templates using neu-CLI.
  • Native functions, with an API to access OS-level functions.
  • A single application package for all platforms.
  • No extra dependencies.
  • Applications can be debugged using a browser.
Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author