Function: homeFS()
homeFS(
relativeRoot?,options?):LocalFileSystem
LocalFileSystem rooted under resolveLocalHome, with
relativeRoot joined as a relative path (leading / / ~ stripped
so the result stays under home).
Parameters
Section titled “Parameters”relativeRoot?
Section titled “relativeRoot?”string = "."
options?
Section titled “options?”OsFileSystemOptions = {}
Returns
Section titled “Returns”Example
Section titled “Example”const cache = homeFS(".cache/my-app");await cache.writeFile("state.json", "{}");