Node.JS

Node.js is runtime environment that allows you to run JavaScript on the server side.

JavaScript Engines

JavaScript Runtime Environments

  1. Node.js
  2. Deno → Build by node.js org
  3. BunBuild by node.js org

Bun

Bun gets closer to 99.99% Node.js API compatibility. Today, popular frameworks like Next.js, Express, and millions of npm packages intended for Node just work with Bun.

✅If you have written code for Bun then that code will not run in Node.js but all the code of Node.js will run in bun.

Features of Node.js