
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
lor-data-dragon
Advanced tools
This is a small package for providing a JavaScript/TypeScript API for the Runeterra Data Dragon, which is a static database of Runeterra card and image data. Please note that this package only works in node.js environments, and will not work in the browser (sorry, I tried!)
npm install lor-data-dragon
import * as rune from "lor-data-dragon";
// Instantiate a client
const dd = new rune.DataDragon({
cacheDir: "./testCache"
});
// Access to the per-set data
const setBundle = await dd.getLiteSetBundle(rune.Set.BeyondTheBandlewood, rune.Locale.English);
const cards: rune.Card[] = await setBundle.getCards();
const cardImage: Buffer = await setBundle.getCardImage(cards[0].cardCode)
// Access to the global game data
const bundle = await dd.getCoreBundle(rune.Locale.English);
const global: rune.GlobalData = await bundle.getGlobalData();
const regionImage: Buffer = await bundle.getRegionImage("bilgewater");
Additional methods and parameters are fully documented, and the use of TypeScript is strongly recommended to autocomplete all of these.
import * as rune from "lor-data-dragon"; namespace the exports sensibly
LorDataDragon renamed to DataDragonRuneterraSet renamed to SetDataDragon now returns wrapper objects which themselves can be used to fetch card/image dataFAQs
Interface for accessing the Legends of Runeterra Data Dragon
We found that lor-data-dragon 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
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.