Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

modrinth-ts/lib

Repository files navigation

Warning

DEPRECATED: Use @modrinth/api-client instead.

@modrinth-ts/lib

TypeScript client for Labirinth, Modrinth's REST API

⬇️ Installing

npm install @modrinth-ts/lib
bun add @modrinth-ts/lib
pnpm add @modrinth-ts/lib
yarn 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

This client is generated using @hey-api/openapi-ts - consider giving them a star ⭐

About

[DEPRECATED] TypeScript client for Labirinth, Modrinth's REST API

Resources

License

Stars

Watchers

Forks