Skip to content

fileSaves

fileSaves(dir): SavePort

Saves as small JSON files in one directory (a standalone server that must keep them across restarts). File names are a hash of the key, so nothing a player or page controls reaches the path. A file written half way never replaces a good one (write to a temp name, then rename).

string

SavePort