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

x/ayonli_jsext/workerd/cli.ts>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/workerd/cli.ts";

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.