diff options
Diffstat (limited to 'ext/node/polyfills/readline.ts')
-rw-r--r-- | ext/node/polyfills/readline.ts | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ext/node/polyfills/readline.ts b/ext/node/polyfills/readline.ts new file mode 100644 index 000000000..99b73177d --- /dev/null +++ b/ext/node/polyfills/readline.ts @@ -0,0 +1,35 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// @deno-types="./_readline.d.ts" + +import { + clearLine, + clearScreenDown, + createInterface, + cursorTo, + emitKeypressEvents, + Interface, + moveCursor, + promises, +} from "internal:deno_node/polyfills/_readline.mjs"; + +export { + clearLine, + clearScreenDown, + createInterface, + cursorTo, + emitKeypressEvents, + Interface, + moveCursor, + promises, +}; + +export default { + Interface, + clearLine, + clearScreenDown, + createInterface, + cursorTo, + emitKeypressEvents, + moveCursor, + promises, +}; |