pingmc
TypeScript icon, indicating that this package has built-in type declarations

3.1.0 • Public • Published

PingMC

A promise-based ES6 Minecraft pinger in Node.js

📦 Install

npm i pingmc

Example

import { PingMC } from "pingmc"; // ES6
// OR
const { PingMC } = require("pingmc"); // ES5

new PingMC("mc.hypixel.net")
    .ping()
    .then((data) => console.log(data))
    .catch((error) => console.log(error))

License

MIT

Package Sidebar

Install

npm i pingmc

Weekly Downloads

0

Version

3.1.0

License

MIT

Unpacked Size

21.1 kB

Total Files

17

Last publish

Collaborators

  • mrzillagold