An earthquake of magnitude 6 struck north of the South Pacific island nation of Vanuatu on Tuesday, the United States Geological Survey (USGS) said.