New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

minecraft-r

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minecraft-r

Um pacote NPM feito a partir da Mojang API.

  • 0.0.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Um pacote NPM simples com base na Mojang API.

Instalação:

npm install minecraft-r

Exemplos:

Você pode verificar os status dos servidores da mojang. Eles podem retornar 3 valores cada um, green (ok), yellow (alguns serviços instáveis/não funcionando), e red (não funcionando corretamente)

// Verificar os status dos servidores da mojang
const minecraft = require('minecraft-r');

(async () => { console.log(await minecraft.mojangStatus()) })()

Você também pode pegar o UUID de um usuário com base no nickname:

// Retorna o UUID de um usuário com base no nickname
const minecraft = require('minecraft-r');
(async () => { console.log(await minecraft.usernameToUUID('viniccius13')) })();

Ou, pegar o histórico de nomes com base no UUID:

const minecraft = require('minecraft-r');
(async () => { console.log(await minecraft.UUIDtoNameHistory('0d7f10dfc509483ea1d46f150ce049ce')) })();


Ou então, pegar o histórico de nomes com base no nickname

const minecraft = require('minecraft-r');
(async () => { console.log(await minecraft.usernametoNameHistory('viniccius13')) })();

Keywords

FAQs

Package last updated on 11 Aug 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc