1.6.0 • Published 5 years ago
mtga-zero v1.6.0
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:
const { allCards } = require("mtga")
let card = allCards.findCard(67134) // dub
console.log(card.get("prettyName"))
deploying
because I always forget
# update version in package.json
npm publish
1.6.0
5 years ago