Is iOS based on Linux? Answer
No, iOS is not based on Linux. It is based on BSD. Fortunately, Node.js does run on BSD, so it can be compiled to run on iOS. iOS is based on OS X which is, itself, a variant of a BSD UNIX kernel running on top of a micro kernel called Mach.