Skip to main content
start - node__repl.d.ts - Node documentation
function start

Usage in Deno

```typescript import { start } from "node:node__repl.d.ts"; ```
start(options?: string | ReplOptions): REPLServer
> [!WARNING] Deno compatibility > This symbol is not supported. The `repl.start()` method creates and starts a [REPLServer](../.././node__repl.d.ts/~/REPLServer) instance. If `options` is a string, then it specifies the input prompt: ```js import repl from 'node:repl'; // a Unix style prompt repl.start('$ '); ```

Parameters

optional
options: string | ReplOptions

Return Type