function start
Usage in Deno
import { start } from "node:repl";
start(options?: string | ReplOptions): REPLServer
The repl.start()
method creates and starts a REPLServer instance.
If options
is a string, then it specifies the input prompt:
const repl = require('node:repl'); // a Unix style prompt repl.start('$ ');
optional
options: string | ReplOptions