REPL#

Stability: 2 - Stable

Source Code: lib/repl.js

The node:repl module provides a Read-Eval-Print-Loop (REPL) implementation that is available both as a standalone program or includible in other applications. It can be accessed using:

const repl = require('node:repl'); 

Design and features#

The node:repl module exports the repl.REPLServer class. While running, instances of