1.5.2-h • Published 10 months ago

pingerminecraft v1.5.2-h

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

This library uses https://www.minecraftpinger.com/ !

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

Dependencies

  • NodeJs

изображение

Example 1: Async Function

const { pingerMinecraft } = require("pingerminecraft")

const data = await pingerMinecraft('95.216.62.176:25629')
console.log(data)

Example 2: Then constructs

const { pingerMinecraft } = require("pingerminecraft")

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

Example 2: Then constructs using your Promise library, JSON

const { pingerMinecraft } = require("pingerminecraft")

pingerMinecraft('95.216.62.176:25629', Promise, JSON)
	.then(data => console.log(data))
	.catch(error => console.error(error))

pingerMinecraft('95.216.62.176:25629', Promise, JSON)
	.then(console.log)
	.catch(console.error)
1.5.2-h

10 months ago

1.5.2

10 months ago

1.5.1

10 months ago

1.5.0

10 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago