@welshman/net 
Utilities having to do with connection management and nostr messages.
Connection- the main api for dealing with relay connectionsConnectionAuth- tracks auth status for a connectionConnectionSender- a send queue for connectionsConnectionState- tracks pending publishes and requests for a connectionConnectionStats- tracks timing and error stats for a connectionContext- provides default values for configuringctx.netExecutor- implements common nostr flows on a giventargetPool- a thin wrapper aroundMapwhich storesConnectionsPublish- utilities for publishing eventsSocket- a wrapper around isomorphic-ws that handles json parsing/serializationSubscribe- utilities for making requests against nostr relaysTracker- tracks which relays a given event was seen on
Executor targets extend Emitter, and have a send method, a cleanup method, and a connections getter. They are intended to be passed to an Executor for use.
targets/Multiallows you to compose multiple targets together.targets/Relaytakes aConnectionand provides listeners for different verbs.targets/Relaystakes an array ofConnections and provides listeners for different verbs, merging all events into a single stream.