A Javascript library for moxfield.com written in Typescript.
npm install --save moxfield-apiUsing bun
bun add moxfield-apiimport MoxfieldApi from 'moxfield-api';
const moxfield = new MoxfieldApi();
const decklist = await moxfield.decklist.findById('https://moxfield.com/decks/oEWXWHM5eEGMmopExLWRCA'); // OR oEWXWHM5eEGMmopExLWRCAThis project uses Bun as a runtime, test runner and bundler.
Thanks for wanting to help out! Here's the setup you'll have to do:
Clone the project
git clone git@github.com:MarioMH8/moxfield-api.gitGo to the project directory
cd moxfield-apiInstall dependencies
bun installCompile the project
bun run build