![]() It's quite reasonable to have one AppStudio project that you use with both VoltBuilder and Electron, letting you build for all 5 platforms. Electron is used to package apps for Windows, MacOS and Linux. VoltBuilder (Cordova) is used to package apps for iOS and Android. Slack, Github Desktop and WhatsApp are examples of apps built using Electron. Each Electron app includes the V8 Runtime as well as the Chrome browser. It also uses Chrome's browser engine to render the UI using regular HTML. Since it's built on Node.js, it already has the ability to run JavaScript code. A missing feature library would be fs-extra which allows full access to the file system.Įlectron is framework which allows for the development of desktop GUI applications. It might be for functionality: the modules can implement features which would not be available in the browser.Īn example of a convenient library would be Lodash which adds hundreds of additional functions to JavaScript. It might be for convenience: there are a lot of libraries which are much easier to include in your project than to write yourself. You can include these packages in your Node project to add functionality. There is a huge number of packages available - over 750,000 at last count. Npm is a repository of code which can be used with Node.js. It works by having an executable stub which is able to call the V8 JavaScript engine, which powers Chrome. That makes it suitable for writing server side software, which would normally be done in PHP or other languages. ![]() Node.js is a runtime environment that executes JavaScript code outside the browser.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |