i

REPL Terminal

Node.js comes built-in with a repl module. It provides a Read-Evaluate-Print-Loop implementation. It is available both as a standalone program and can be included in other applications.

const repl=require('repl')

These REPL sessions can be saved for later use purposes, as well.

Using .save /{path}/{name_of_file.js}