Task: Check Internet Connectivity in Node.js
Task: Check Internet Connectivity in Node.js: a task in Terminal-Lego-15k (Harbor dataset). You are given a Linux environment with Node.js installed. Your task is to create a small Node.js utility that determines whether the machine currently has internet connectivity.
The task
You are given a Linux environment with Node.js installed. Your task is to create a small Node.js utility that determines whether the machine currently has internet connectivity.
Part of PrimeIntellect/Terminal-Lego-15k.