Skip to content

Documentation / @imvu/rest / fileCookieStorage

Function: fileCookieStorage() ​

ts
function fileCookieStorage(path): CookieStorage;

Defined in: packages/rest/src/cookies.ts:15

Persist cookies to a JSON file. Node only — node:fs is imported lazily, so merely bundling this module for a browser never pulls it in.

Parameters ​

ParameterType
pathstring

Returns ​

CookieStorage

Released under the MIT License.