Ende.createSync

function ยท requires --allow-read, --allow-write

function Ende.createSync(path: string | URL): FsFile

Creates a file if none exists or truncates an existing file and returns an instance of Ende.FsFile.

const file = Ende.createSync("/foo/bar.txt");

Requires allow-read and allow-write permissions.