Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface WriteStream
implements SomeNullable<Writable, "_write" | "_writev">, Stream
import { type WriteStream } from "https://deno.land/std@0.160.0/node/internal/fs/streams.ts";

Properties

[kFs]: WriteFS
bytesWritten: number
function WriteStream
import { WriteStream } from "https://deno.land/std@0.160.0/node/internal/fs/streams.ts";

Parameters

this: WriteStream | unknown
path: string | Buffer | URL
optional
options: BufferEncoding | (WriteStreamOptions & WritableOptions)