Пинг серверов minecraft с отформатированным выводом описания и прочих полей.
pingWithPromise('localhost', 25565).then(console.log).catch(console.error);
ping('localhost', 25565, (error, result) => {
if (error) {
console.error(error);
} else {
console.log(result);
}
})
- format description in universal format
- format other fields
- create npm lib