Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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://deno.land/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.