prorm API Reference
    Preparing search index...

    Interface NedbStoreOptions

    Connection options for NedbStore.

    interface NedbStoreOptions {
        filename?: string;
        client?: NedbClientLike;
    }
    Index
    filename?: string

    Filesystem path for the NeDB datafile. Omit for a purely in-memory store.

    client?: NedbClientLike

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