OptionalfilenameFilesystem path for the NeDB datafile. Omit for a purely in-memory store.
OptionalclientA 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.
Connection options for
NedbStore.