
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
mc-curseforge-api
Advanced tools
Yeah a terrible package name but whatever.
This package should make dealing with the Minecraft Mods Curseforge API a lot easier. Just quickly require it and you're good to go!
Using yarn (which is obviously better)
yarn add mc-curseforge-api
Using npm
npm install mc-curseforge-api --save
Get a list of mods:
const curseforge = require("mc-curseforge-api");
curseforge.getMods().then((mods) => {
console.log(mods);
});
Search for mods by a string:
curseforge.getMods({ searchFilter: "Vazkii_" }).then((mods) => {
console.log(mods);
});
Get a list of mods for a specific minecraft version:
curseforge.getMods({ gameVersion: "1.12.2" }).then((mods) => {
console.log(mods);
});
Use paging for getting mods:
curseforge.getMods({ index: 3, pageSize: 5 }).then((mods) => {
console.log(mods);
});
See curseforge.getMods for more options.
Download the mod file for a mod:
mod.getFiles().then((files) => {
files[0].download("./Mod.jar");
});
Get mod files for a specific minecraft version:
curseforge.getModFiles(225643).then((files) => {
console.log(files);
});
See curseforge.getModFiles for more options.
See the docs for more information here.
(Those got made with JSDoc and I have no clue how to make them look better.)
FAQs
API to interact with the minecraft mods curseforge api
We found that mc-curseforge-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.