Ende.create

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

function Ende.create(path: string | URL): Promise<FsFile>

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

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

Requires allow-read and allow-write permissions.