@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
No description provided
Readme 162 KiB
Languages
TypeScript 100%