f460b92c3a3deeff70cbe320307b2573de1f07dd
@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
Languages
TypeScript
100%