Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/node/fs.ts>WriteStream

Deno standard library
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
Re-export
import { type WriteStream } from "https://deno.land/std@0.160.0/node/fs.ts";

Properties

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

Parameters

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

Returns

WriteStream