
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.
node-curseforge
Advanced tools
A zero-dependencies NodeJS package to interact with the curseforge core api. Requires a CFCore authentication token (get one from console.curseforge.com/#/api-keys and yes you need to use a google account to login (sadly)).
To install this package you can use either yarn or npm.
yarn add node-curseforge
or
npm install node-curseforge
You can use this package mostly in two ways. Either you fetch a game first and interact over the game mostly with the api or you use the root class and give the required ids or objects directly.
const {Curseforge} = require("node-curseforge");
let cf = new Curseforge(cf_token);
let mc = cf.get_game("minecraft");
cf.search_mods(mc).then((mods) => {
for(let mod of mods){
cf.get_description(mod).then((desc) => {
console.log(desc);
});
}
});
Using the methods on the objects themselves actually calls them using the curseforge instance and directly fills in the ids.
const {Curseforge} = require("node-curseforge")
let cf = new Curseforge(cf_token);
let mc = cf.get_game("minecraft");
mc.search_mods().then((mods) => {
for(let mod of mods){
mod.get_description().then((desc) => {
console.log(desc);
})
}
})
The entire package is written in typescript and compiled to Javascript with an additional declaration file! You can therefore use this file with regular Javascript or with regular Typescript.
You can find the (wip) documentation at mondanzo.github.io/node-curseforge. Most of the code is very self-explanatory though and overall also 1:1 identical with the CFCore Docs.
FAQs
A NodeJS package for the curseforge api
We found that node-curseforge 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.