Write, read, list, rename and delete files, then check them in Your files on the right. It updates live, so you can see exactly what your code saved.
Overwrites the file if it exists. Missing folders are created for you.
Resolves to the text, or null when the file doesn't exist. Tip: click any file in Your files to read it.
Folders come first, each entry has a name and a type ("folder" or the file's extension).
The usual way to keep app data: one JSON file. Loading falls back to a default when the file is missing or damaged.
Takes full paths on both sides and works for files and folders.
Deleting a folder removes everything inside it.
This example may only use home/Documents. Writing anywhere else fails the same way it will inside VibeOS.
Return values and errors show up here, exactly as your code would get them.
Every call this page made. Click one to see its result again.
The helpers this page runs on. Copy them into your app as they are.