Reputation: 824
Is there any NodeJS in Apache Cordova? I'm aware of that you can install Cordova CLI using npm but this just means that Cordova is packaged using npm as far as I know.
Upvotes: 0
Views: 2470
Reputation: 475
Yes, the Command Line of Cordova is built on top of Node JS. That is explicitely mentioned here. Also on npm the requirements clearly state that Node JS is necessary (requirements).
Now as far as I know only the CLI is implemented using Node JS, the rest of it maybe doesnt require Node JS, but that I dont know.
Edit: Also as mentioned by others, Cordova apps are NOT packaged with Node JS but rather with a Web-view. The CLI and the built app are two completely different and independent things.
Upvotes: 2
Reputation: 7405
No, there is no NodeJS used in Cordova. Cordova apps are ran as client application on web browser and thus they require nothing like NodeJS.
You are though right about the npm part as Cordova (and some submodules) is packaged as npm module for easy deployment.
Please also note that the source code for different projects of Apache Cordova can be found on their own home page.
Upvotes: 2