Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/dts/lib.deno.ns.d.ts>Deno.stderr

A modern runtime for JavaScript and TypeScript.
Go to Latest
variable Deno.stderr
import { Deno } from "https://deno.land/x/deno@v1.28.0/cli/dts/lib.deno.ns.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>; }