net-keepalive

Provides high-level access to socket options like TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT

it-keepalive

Keep an async iterable alive by yielding a value if it doesn't yield a value before the timeout