GitLab SDK
📦 Node SDK for GitLab API.
This SDK provides an easy way to interact with GitLab's API, allowing server-side applications to manage repositories, users, and more with simple API calls.
Installation
This SDK is intended for server-side use only.
pnpm add @nexaro.ipaas/gitlab-sdk
Usage
Basic Setup:
Import the SDK and create a new instance by passing your private GitLab token:
import GitlabSdk from '@nexaro.ipaas/gitlab-sdk'
const client = new GitlabSdk('__TOKEN_PRIVATE__')
const projects = await client.projects.searchMany()
Development
To set up the development environment:
Installation
pnpm install
Running Locally
To start the application in development mode:
pnpm run dev
This will start the development server and allow you to test any changes locally.
Build
To build the SDK for production:
pnpm run build
This will bundle the SDK for distribution.