curseforge-js
Enumerations
| Enumeration | Description |
|---|---|
| CoreApiStatus | Visibility of a game's API. |
| CoreStatus | Approval/lifecycle status of a game, category, or other core entity. |
| FileRelationType | How a file relates to another file it depends on. |
| FileReleaseType | The release type of a mod file. |
| FileStatus | The processing/publishing status of a mod file. |
| GameId | Game ids on CurseForge, as returned by GamesApi.list. |
| GameVersionStatus | Approval status of a game version. |
| GameVersionTypeStatus | Status of a game version type. |
| HashAlgo | Hashing algorithm used for a FileHash. |
| ModLoaderInstallMethod | Install method used by a Minecraft mod loader version. |
| ModLoaderType | A Minecraft mod loader kind. |
| ModsSearchSortField | Field to sort mod search results by. |
| ModStatus | The approval status of a mod. |
Classes
| Class | Description |
|---|---|
| CategoriesApi | API namespace for mod categories. |
| CurseForgeClient | Client for the CurseForge API. |
| CurseForgeClientCore | Low-level HTTP client used internally by all API namespace classes. |
| CurseForgeError | Error thrown for request failures, timeouts, and CurseForge API errors. |
| FilesApi | API namespace for mod files. |
| FingerprintsApi | API namespace for matching mod files by their Murmur2 fingerprints. |
| GamesApi | API namespace for games. |
| MinecraftApi | API namespace for Minecraft-specific game version and mod loader data. |
| ModsApi | API namespace for mods. |
| UsersApi | API namespace for users. |
Interfaces
| Interface | Description |
|---|---|
| Category | A mod category or class. |
| CurseForgeClientOptions | Options for creating a CurseForgeClient. |
| CurseForgePaginatedResponse | Envelope returned by paginated CurseForge endpoints. |
| CurseForgeResponse | Envelope returned by non-paginated CurseForge endpoints. |
| FeaturedModsResponse | Featured, popular, and recently updated mods. |
| File | A file (version) of a mod. |
| FileDependency | A dependency of a mod file on another mod. |
| FileHash | A hash of a mod file. |
| FileIndex | Condensed index entry describing one of a mod's latest files. |
| FileModule | A submodule of a mod file, identified by its own fingerprint. |
| FingerprintFuzzyMatch | A fuzzy fingerprint match for a mod file. |
| FingerprintFuzzyMatchResult | Result of fuzzy-matching a list of folder fingerprints against CurseForge's file index. |
| FingerprintMatch | An exact fingerprint match for a mod file. |
| FingerprintsMatchesResult | Result of matching a list of fingerprints against CurseForge's file index. |
| FolderFingerprint | A folder of mod files identified together by their fingerprints, for fuzzy matching. |
| Game | A game available on CurseForge. |
| GameAssets | Icon, tile and cover art for a game. |
| GameSupportedFeatures | Feature flags describing what a game supports. |
| GameVersion | A single named/sluggable version of a game (used by the v2 versions endpoint). |
| GameVersionsByType | Game versions grouped by version type (v1 form, plain version strings). |
| GameVersionsByType2 | Game versions grouped by version type (v2 form, full version objects). |
| GameVersionType | A version type belonging to a game (e.g. Minecraft game versions vs. Minecraft mod loaders). |
| GetCategoriesOptions | Query parameters for CategoriesApi.list. |
| GetFeaturedModsRequestBody | Request body for ModsApi.getFeatured. |
| GetFingerprintMatchesRequestBody | Request body for FingerprintsApi.getMatches. |
| GetFuzzyMatchesRequestBody | Request body for FingerprintsApi.getFuzzyMatches. |
| GetMinecraftModLoadersOptions | Query parameters for MinecraftApi.getModLoaders. |
| GetMinecraftVersionsOptions | Query parameters for MinecraftApi.getVersions. |
| GetModDescriptionOptions | Query parameters for ModsApi.getDescription. |
| GetModFilesOptions | Query parameters for FilesApi.list. |
| GetModFilesRequestBody | Request body for FilesApi.getFiles. |
| GetModsByIdsListRequestBody | Request body for ModsApi.getMods. |
| MinecraftGameVersion | A single Minecraft game version. |
| MinecraftModLoaderIndex | A condensed entry describing the latest/recommended version of a Minecraft mod loader. |
| MinecraftModLoaderVersion | Full details for a specific Minecraft mod loader version. |
| Mod | A mod (project) on CurseForge. |
| ModAsset | An image asset (logo or screenshot) belonging to a mod. |
| ModAuthor | An author of a mod. |
| ModLinks | Relevant external links for a mod. |
| Pagination | Pagination metadata included in paginated API responses. |
| PaginationOptions | Common query parameters for paginated endpoints. |
| SearchModsOptions | Query parameters for ModsApi.search. |
| SortableGameVersion | Metadata used for sorting files by game version. |
| User | A CurseForge user. |
Type Aliases
| Type Alias | Description |
|---|---|
| GetGamesOptions | Query parameters for GamesApi.list. |
| QueryValue | A value that can be serialized as a URL query parameter. |
| SortOrder | Sort direction for mod search results. |
Functions
| Function | Description |
|---|---|
| resolveAvatarUrl | Resolves a User.avatarUrl template into a fetchable image URL by substituting its {0} size placeholder, a legacy artifact of CurseForge's Twitch-based avatar system. |
References
default
Renames and re-exports CurseForgeClient