Skip to content

MrZillaGold/PingMC

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

📦 A promise based minecraft pinger in Node.js

Resources

License

Stars

Watchers

Forks

Languages

  • TypeScript 96.9%
  • JavaScript 3.1%