chmodSync - Node documentation
function chmodSync

Usage

import { chmodSync } from "node:fs";

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

See the POSIX chmod(2) documentation for more detail.

Parameters

path: PathLike
mode: Mode

Return Type

void