UNPKG

@kodamc/protocol

Version:
6 lines (4 loc) 137 B
const { ping } = require('bedrock-protocol') ping({ host: 'play.cubecraft.net', port: 19132 }).then(res => { console.log(res) })