@homebridge/hap-nodejs
    Preparing search index...

    Interface HAPFileStorageInitOptions

    Init options supported by HAPFileStorage.initSync.

    This is the subset of node-persist's init options which was ever functional for HAP-NodeJS's storage. Passing any other node-persist option throws instead of being silently ignored.

    interface HAPFileStorageInitOptions {
        dir?: string;
    }
    Index
    dir?: string

    Path of the storage directory. If provided, it must be an absolute path. If omitted, storage defaults to the directory persist inside the current working directory.