2.1.0 • Published 3 years ago
modpacks.ch v2.1.0
Promise-based node wrapper around https://modpacksch.docs.apiary.io/
Usage example
Search for a modpack with a limit of 5 results then get the files for the first result.
const modpacksch = require('modpacks.ch');
let searchResult = await modpacksch.searchPack('HermitPack', 5);
let versionManifest = await modpacksch.versionManifest(searchResult.packs[0]);
console.log(versionManifest.files);