repl 交互式解释器
稳定性: 2 - 稳定
源代码: lib/repl.js
node:repl
模块提供了一个读取-评估-打印-循环 (REPL) 实现,它既可以作为独立程序使用,也可以包含在其他应用程序中。
可以使用以下方式访问它:
const repl = require('node: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');