Files
gitlab/readme.md
Juergen Kunz b0f56f5948 BREAKING CHANGE(gitlab): rename to @apiclient.xyz/gitlab v2.0.0 with new GitLabClient API
Replaces legacy @mojoio/gitlab with modern ESM TypeScript client supporting projects, groups, CI/CD variables, and pipelines.
2026-02-24 12:50:18 +00:00

31 lines
602 B
Markdown

# @apiclient.xyz/gitlab
A TypeScript client for the GitLab API, providing easy access to projects, groups, CI/CD variables, and pipelines.
## Install
```sh
npm install @apiclient.xyz/gitlab
```
## Usage
```typescript
import { GitLabClient } from '@apiclient.xyz/gitlab';
const client = new GitLabClient('https://gitlab.com', 'your-private-token');
// Test connection
const result = await client.testConnection();
// List projects
const projects = await client.getProjects();
// Manage CI/CD variables
await client.createProjectVariable(123, 'SECRET_KEY', 'secret-value');
```
## License
MIT