Пинг серверов minecraft с отформатированным выводом описания и прочих полей.
pingWithPromise('localhost', 25565).then(console.log).catch(console.error);
ping('localhost', 25565, (error, result) => {
if (error) {
console.error(error);
} else {
console.log(result);
}
})
В npmrc записать
@mixer54:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=TOKEN
- [x] format description in universal format
- [ ] format other fields
- [ ] create npm lib