@nexaro.ipaas/gitlab-sdk
v1.1.8
Published
📦 Node SDK for GitLab API
Readme
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-sdkUsage
Basic Setup:
Import the SDK and create a new instance by passing your private GitLab token:
import GitlabSdk from '@nexaro.ipaas/gitlab-sdk'
// Initialize the client with your private token
const client = new GitlabSdk('__TOKEN_PRIVATE__')
const projects = await client.projects.searchMany()Development
To set up the development environment:
Installation
pnpm installRunning Locally
To start the application in development mode:
pnpm run devThis will start the development server and allow you to test any changes locally.
Build
To build the SDK for production:
pnpm run buildThis will bundle the SDK for distribution.
