Nodejs on firefox operating system

Firefox OS can host nodejs app offline? Just like a regular application, just because it uses only HTML5 (until today) is an application deployment form for this new platform.

Or does the new system use only applications as web services, such as regular html?

+4
source share
2 answers

If I understand your question correctly, if you mean the creation and deployment of a web application in Node.JS and the use of the same web application offline, the answer will be yes .

You need to learn what hosted applications are and improve your application by using stand-alone capabilities by using a cache manifest to cache application resources and using a browser / local storage to store application data for offline use.

+3
source

You cannot run Node.JS on Firefox. The marked answer is incorrect. Node.JS itself does not run on browsers or mobile devices. JXcore , the mobile and integrated Node.JS distribution, runs on iOS and Android. It does not currently work on Firefox OS.

Actually there is no technical bottleneck due to which JXcore does not work in Firefox. JXcore embeds SpiderMonkey in addition to the V8. The problem is that Firefox OS does not allow the use of native code.

+1
source

Source: https://habr.com/ru/post/1486649/


All Articles