An ergonomic Deno wrapper around the NPM package curseforge-api, tailored just for Minecraft.
Located in /src/readme.md so that it can be surfaced on the deno.land/x/ page.
With Deno installed:
deno run -A example/<pick one> # expects a .env file
deno test -A # run unit tests (only tests that imports are correct, no network)
deno run -A scripts/runAllExamples.ts # expects a .env file
deno run -A scripts/createReleaseNotes.ts # generated from git history
deno run -A scripts/bumpVersion.ts <semver> # bump version in all files
You'll probably want to get a CurseForge API key here, then create a .env
file that exports it as CF_API_KEY
:
# .env at the root of the repo
CF_API_KEY = ABC123DEF567