curseforge
v1.0.2
Published
Non-official Javascript/Typescript bindings for the Curseforge API
Downloads
3
Readme
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/