From 161cee5abf4851d345360d49b70fae281fabafbe Mon Sep 17 00:00:00 2001 From: Mestery Date: Sun, 16 Jan 2022 18:52:33 +0100 Subject: [PATCH] doc,readline: add missing node protocol in example --- doc/api/readline.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/readline.md b/doc/api/readline.md index 31d910e1b68b81..ab93b59eb2ee9c 100644 --- a/doc/api/readline.md +++ b/doc/api/readline.md @@ -33,7 +33,7 @@ The following simple example illustrates the basic use of the `readline` module. ```mjs import * as readline from 'node:readline/promises'; -import { stdin as input, stdout as output } from 'process'; +import { stdin as input, stdout as output } from 'node:process'; const rl = readline.createInterface({ input, output });