npm install mtg --save
var mtg = require('mtg'); mtg.download(function () { mtg.json2db(function () { console.log('done'); }); });