@apiclient.xyz/gitlab

A TypeScript client for the GitLab API, providing easy access to projects, groups, CI/CD variables, and pipelines.

Install

npm install @apiclient.xyz/gitlab

Usage

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

Description
No description provided
Readme 459 KiB
Languages
TypeScript 100%