Skip to main content
Deno 2 is finally 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.164.0/node/internal/fs/streams.ts";

Properties

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

Parameters

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