prorm API Reference
    Preparing search index...

    Interface LevelDBStoreOptions

    Connection options for LevelDBStore.

    interface LevelDBStoreOptions {
        path?: string;
        client?: LevelDBClientLike;
    }
    Index
    path?: string

    Filesystem path for the LevelDB database directory. Defaults to './data/leveldb'.

    client?: LevelDBClientLike

    A pre-built level client (or a compatible mock). When provided, connect() uses it directly and skips require('level') entirely — this is how tests inject a mock without the real driver installed.