What JavaScript engine does Node.js use?

Node.js uses the V8 JavaScript engine, originally developed by Google for Chrome. V8 parses and executes JavaScript and uses techniques such as just-in-time compilation to optimize JavaScript execution. Node.js adds its own runtime APIs around the JavaScript engine.

Key Takeaways
  • Node.js uses V8.

  • V8 executes JavaScript.

  • Node.js adds runtime APIs around V8.

Knowledge Check

Which JavaScript engine powers Node.js?