Skip to main content
Version: Next

openSync

function openSync(path, options?): File;

The sync version of open.

Parameters

ParameterTypeDescription

path

string

options?

OpenOptions

Returns

File

Throws

Example

const file = Rsvim.fs.openSync("README.md");