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

std/node/fs.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.142.0/node/fs.ts";

Functions

TODO: Also accept 'data' parameter as a Node polyfill Buffer type once these are implemented. See https://github.com/denoland/deno/issues/3403

TODO: Also accept 'data' parameter as a Node polyfill Buffer type once these are implemented. See https://github.com/denoland/deno/issues/3403

Asynchronously changes the owner and group of a file.

Synchronously changes the owner and group of a file.

TODO: Also accept 'path' parameter as a Node polyfill Buffer type once these are implemented. See https://github.com/denoland/deno/issues/3403 Deprecated in node api

TODO: Also accept 'path' parameter as a Node polyfill Buffer or URL type once these are implemented. See https://github.com/denoland/deno/issues/3403

TODO: Also accept 'path' parameter as a Node polyfill Buffer type once these are implemented. See https://github.com/denoland/deno/issues/3403

TODO: Also accept 'path' parameter as a Node polyfill Buffer type once these are implemented. See https://github.com/denoland/deno/issues/3403

Write buffer to the file specified by fd. If buffer is a normal object, it must have an own toString function property.

If buffer is a plain object, it must have an own (not inherited) toStringfunction property.

Write an array of ArrayBufferViews to the file specified by fd usingwritev().

For detailed information, see the documentation of the asynchronous version of this API: writev.