Skip to main content
WriteStream.prototype.path - Node documentation
property WriteStream.prototype.path

Usage in Deno

import { WriteStream } from "node:fs";

The path to the file the stream is writing to as specified in the first argument to createWriteStream. If path is passed as a string, thenwriteStream.path will be a string. If path is passed as a Buffer, thenwriteStream.path will be a Buffer.

Type

string | Buffer