Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.08 KB

readme.md

File metadata and controls

30 lines (19 loc) · 1.08 KB

Minecraft CurseForge API

deno module

An ergonomic Deno wrapper around the NPM package curseforge-api, tailored just for Minecraft.

Usage Documentation

Located in /src/readme.md so that it can be surfaced on the deno.land/x/ page.

Local Development

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