server status minecraft javascript
npm install minecraft-server-status
const status = require('minecraft-server-status');
status('play.pvpshield.it', 25565, response => {
console.log(response)
})
Test it:
https://npm.runkit.com/minecraft-server-status