2.0.1 • Published 12 months ago

pingerminecraft v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

This library uses https://api.mcsrvstat.us/ !

Nodejs library that allows you to get information about the minecraft server

Install

npm i pingerminecraft

OS Dependencies

  • Node.js

Lib Dependencies

  • undici

image

Example 1: Async Function

const pingerMinecraft = require("pingerminecraft")

const data = await pingerMinecraft('95.216.62.176:25565')

console.log(data)

Example 2: Then constructs

const pingerMinecraft = require("pingerminecraft")

pingerMinecraft('95.216.62.176:25565')
	.then(data => console.log(data))
	.catch(error => console.error(error))

Example 2: Then constructs, bedrock true

const pingerMinecraft = require("pingerminecraft")

pingerMinecraft('95.216.62.176:25566', true)
	.then(console.log)
	.catch(console.error)
2.0.1

12 months ago

2.0.0

12 months ago

1.5.2-h

2 years ago

1.5.2

2 years ago

1.5.1

2 years ago

1.5.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago