Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/esm/cli/common.js>readStdin

A JavaScript extension package for building strong and modern applications.
Latest
function readStdin
import { readStdin } from "https://deno.land/x/ayonli_jsext@v0.9.72/esm/cli/common.js";

Reads a chunk of data from the standard input. This could be a single key stroke, or a multi-byte sequence for input from an IME.

NOTE: This function should be used within the task function of lockStdin.