@welshman/net 
Utilities having to do with connection management and nostr messages.
Connection- a wrapper forSocketwith send and receive queues, and aConnectionMetainstance.ConnectionMeta- tracks stats for a givenConnection.Context- an object containing a defaultPooland global configuration options.Executor- implements common nostr flows on a giventargetPool- a thin wrapper aroundMapwhich storesConnections.Publish- utilities for publishing events.Socket- a wrapper around isomorphic-ws that handles json parsing/serialization.Subscribe- utilities for making requests against nostr relays.Tracker- 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/Plextakes an array of urls and aConnectionand sends and receives wrapped nostr messages over that connection.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.