TypeScript client for Labirinth, Modrinth's REST API
npm install @modrinth-ts/libbun add @modrinth-ts/libpnpm add @modrinth-ts/libyarn add @modrinth-ts/libThis is the main entry point you should use.
import * as modrinth from '@modrinth-ts/lib';Use this only when configuring authentication.
import { client } from '@modrinth-ts/lib/client';Important
Refer to the official Labirinth documentation for usage.
Important
Refer to the @hey-api/client-fetch documentation for authentication setup.
Note
The library version matches Labirinth's version at the time of syncing, except for the first one.
Note
This client is generated using @hey-api/openapi-ts - consider giving them a star ⭐