GlossaryTools

What is Node.js?

Node.js is a JavaScript runtime for building server-side applications.

Node.js allows developers to run JavaScript on the server, enabling them to create dynamic web applications. It uses an event-driven, non-blocking I/O model, which makes it efficient and suitable for data-intensive real-time applications.

With Node.js, you can use JavaScript to handle server requests, access databases, and serve web pages. This means you can build both the front end and back end of a web application using the same language, streamlining development.

A popular package manager for Node.js is npm, which helps manage libraries and dependencies needed for your projects.

Example

const http = require('http');

Want to use Node.js in real work?

WeCode workshops are built around AI coding tools. Pick a tier, or browse more glossary entries to get the lay of the land.