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

x/ayonli_jsext/cli/common.ts>writeStdoutSync

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

Writes a chunk of data to the standard output synchronously.

NOTE: Despite the function name, the synchronous behavior is only guaranteed in Deno, in Node.js, it may still be asynchronous.

Since the behavior is not guaranteed, it is recommended to use the asynchronous writeStdout function instead. This synchronous function is only provided for special cases where the asynchronous behavior is not acceptable.