8fc2beef788c7e85fc62c21e9d973fe581f575b6
@apiclient.xyz/gitea
A TypeScript client for the Gitea API, providing easy access to repositories, organizations, secrets, and action runs.
Install
npm install @apiclient.xyz/gitea
Usage
import { GiteaClient } from '@apiclient.xyz/gitea';
const client = new GiteaClient('https://gitea.example.com', 'your-api-token');
// Test connection
const result = await client.testConnection();
// List repositories
const repos = await client.getRepos();
// Manage secrets
await client.setRepoSecret('owner/repo', 'SECRET_KEY', 'secret-value');
License
MIT
Description
Languages
TypeScript
100%