
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
call-of-duty-nodejs
Advanced tools
A simple wrapper to fetch public Call of Duty game stats data
A simple wrapper to fetch public Call of Duty game stats data.
Note: This is far from perfect, and not all use-cases are covered. There seem to be gaps in the data on the Call of Duty side as well. This has been developed to fit a specific, narrow use-case for the time being.
yarn add call-of-duty-nodejs
import {
getFullStats,
getPlayerOnLeaderboards,
Games,
Platforms,
WWIILeaderboardData,
WWIIStatData,
} from 'call-of-duty-nodejs';
getFullStats<WWIIStatData>(Games.BlackOps3, Platforms.XBL, 'usernameHere').then(results => {
// results here will be of type ResponseData<WWIIStatData>
});
getPlayerOnLeaderboards<WWIILeaderboardData>(Games.BlackOps3, Platforms.XBL, 'usernameHere').then(results => {
// results here will be of type LeaderboardResponse<WWIIStatData>
});
Each game has different data, so pass the corresponding data interface into the data fetching functions.
BO3 | BO4 | WWII |
---|---|---|
BO3LeaderboardData | BO4LeaderboardData | WWIILeaderboardData |
BO3StatData | BO4StatData | WWIIStatData |
Please see lib/interfaces
and lib/constants
for more information regarding what can be passed in and expected back.
There is a lot of room for improvement in this library currently. Please feel free to help out and submit a pull request.
FAQs
A simple wrapper to fetch public Call of Duty game stats data
The npm package call-of-duty-nodejs receives a total of 0 weekly downloads. As such, call-of-duty-nodejs popularity was classified as not popular.
We found that call-of-duty-nodejs 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.