Note
This package is currently under development. If you notice anything wrong, open an issue over on GitHub or fork the repository and fix it yourself.
mojang.js is a light wrapper for Mojang's APIs.
It is built on top of the superagent
package.
mojang.js is licensed under the MIT License. View the License for the full license.
To install mojang.js, you only need to run npm install @tecc/mojang.js
or yarn add @tecc/mojang.js
.
If you're using TypeScript, don't worry - mojang.js
uses TypeScript too under the hood, and provides complete type declarations.
All documentation is available at the project page. If you find that any documentation is missing, unclear, or incomplete, open an issue over on GitHub.
For more detailed examples, please view the List of examples.