Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dax/src/path.ts>FsFileWrapper

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
class FsFileWrapper
import { FsFileWrapper } from "https://deno.land/x/dax@0.36.0/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.