Skip to content

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

License

Notifications You must be signed in to change notification settings

gigawhip/minecraft-curseforge-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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