@modrinth-ts/lib
v2.1.0
Published
TypeScript client for Labirinth, Modrinth's REST API
Readme
⬇️ Installing
npm install @modrinth-ts/libbun add @modrinth-ts/libpnpm add @modrinth-ts/libyarn add @modrinth-ts/lib📦 Importing
🧩 SDK
This is the main entry point you should use.
import * as modrinth from '@modrinth-ts/lib';🤝 Underlying client
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 ⭐
