OptionalserversOne or more NATS server URLs (e.g. nats://localhost:4222). Passed
straight through to the driver's connect({ servers }).
OptionaltokenToken auth.
OptionaluserUsername for user/password auth.
OptionalpassPassword for user/password auth.
OptionalclientA pre-built NatsConnection. When provided, connect() adopts it
directly and never calls require('nats') — this is how tests inject a
mock connection without the real driver or a network.
Connection options for
NatsStore.