Module

x/dax/src/path.ts>FsFileWrapper

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
class FsFileWrapper
import { FsFileWrapper } from "https://dotland.deno.dev/x/dax@0.39.2/src/path.ts";

Methods

writeBytes(bytes: Uint8Array): Promise<this>

Writes the provided bytes to the file.

writeBytesSync(bytes: Uint8Array): this

Synchronously writes the provided bytes to the file.

writeText(text: string): Promise<this>

Writes the provided text to this file.

writeTextSync(text: string): this

Synchronously writes the provided text to this file.

[symbols.readable](): ReadableStream<Uint8Array>
[symbols.writable](): WritableStream<Uint8Array>