curseforge
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Curserforge API bindings

This is the non-official Javascript/Typescript bindings for the Curseforge API

Warning: This is WIP project, not all bindings are supported.

Full documentation

Link to the latest documentation

Installation

npm install --save curseforge

or

yarn add -D curseforge

Usage

import * as curseforge from 'curseforge';
import type { MinecraftVersionInfo } from 'curseforge';

curseforge.fetch.MinecraftVersionInfo('1.16.5').then((mcInfo: MinecraftVersionInfo) => {
  console.log('=>', mcInfo);
});

Other informations

API url: https://addons-ecs.forgesvc.net/api/v2

API official documentation: https://curseforgeapi.docs.apiary.io/

Readme

Keywords

none

Package Sidebar

Install

npm i curseforge

Weekly Downloads

7

Version

1.0.2

License

MIT

Unpacked Size

38.6 kB

Total Files

11

Last publish

Collaborators

  • trapcodien