1.3.1 • Published 5 years ago
node-minehut v1.3.1
node-minehut
node-minehut is a NPM package designed to make using the Minehut API easier. Heres an example:
Minehut.uploadWorld('path/to/world.zip');
Installing & Using
Simply install the NPM package using:
$ npm install node-minehut
Then to use node-minehut in your project:
let Minehut = require('node-minehut');
Minehut = new Minehut();
Check the documentation for all the functions.
Contributing
If you are interested in contributing (e.g. Adding a new function, improving code etc.) There are a few simple rules: 1. If you have made a new feature add documentation! 2. Any function that returns information to the user should start with get (e.g. getTopServers() returns the top servers but deleteFile() does not return anything). 3. useSnakeCase