OptionalpathFilesystem path for the LevelDB database directory. Defaults to './data/leveldb'.
OptionalclientA 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.
Connection options for
LevelDBStore.