We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 807e99b commit 5250b33Copy full SHA for 5250b33
doc/api/repl.md
@@ -418,6 +418,15 @@ added: v0.1.91
418
419
The `repl.start()` method creates and starts a `repl.REPLServer` instance.
420
421
+If `options` is a string, then it specifies the input prompt:
422
+
423
+```js
424
+const repl = require('repl');
425
426
+// a Unix style prompt
427
+repl.start('$ ');
428
+```
429
430
## The Node.js REPL
431
432
Node.js itself uses the `repl` module to provide its own interactive interface
0 commit comments