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

x/ayonli_jsext/lib.deno.d.ts>Deno.stderr

A JavaScript extension package for building strong and modern applications.
Latest
variable Deno.stderr
import { Deno } from "https://deno.land/x/ayonli_jsext@v0.9.72/lib.deno.d.ts";
const { stderr } = Deno;

A reference to stderr which can be used to write directly to stderr. It implements the Deno specific Writer, WriterSync, and Closer interfaces as well as provides a WritableStream interface.

These are low level constructs, and the console interface is a more straight forward way to interact with stdout and stderr.

type

& { readonly rid: number; readonly writable: WritableStream<Uint8Array>; isTerminal(): boolean; }