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

x/deno/tools/release/deps.ts>dax.CommandBuilder#bytes

A modern runtime for JavaScript and TypeScript.
Go to Latest
method dax.CommandBuilder.prototype.bytes
Re-export
import { dax } from "https://deno.land/x/deno@v1.38.4/tools/release/deps.ts";
const { CommandBuilder } = dax;

Sets stdout as quiet, spawns the command, and gets stdout as a Uint8Array.

Shorthand for:

const data = (await $`command`.quiet("stdout")).stdoutBytes;