sp-isoffline

is online and offline on nodejs; 检测网络状态(nodejs)

Browse on unpkg