UNPKG

mtga

Version:

MTGA card details as backbone models

21 lines (14 loc) 379 B
# node-mtga Magic: the Gathering Arena card information in a nice-to-use format for node ### Find a card's name based on its ID: ```node const { allCards } = require("mtga") let card = allCards.findCard(67134) // dub console.log(card.get("prettyName")) ``` ### deploying because I always forget ```bash # update version in package.json npm publish ```