@gitbeaker/rest

A comprehensive, typed GitLab API SDK for Node.js, browsers, Deno, and Bun

SDK
npm
v43.8.0
1,730 stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum. How we score it →
63 /100 Good
Development Activity 40
Maintenance 44
Community 68
Maturity 60
Momentum 40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation. How we score it →
75 /100 Good
Architecture 78
Code Quality 80
Innovation 68
Learning Curve 75

@gitbeaker/rest is the main entry-point package of the gitbeaker monorepo, providing a fully typed TypeScript SDK over the GitLab REST API. It wraps essentially every resource GitLab exposes — projects, merge requests, pipelines, issues, users, groups, and dozens more — behind a consistent client interface, and runs identically across Node.js, browsers, Deno, and Bun via a shared core built on top of @gitbeaker/core and @gitbeaker/requester-utils.

A companion @gitbeaker/cli package layers a command-line interface on the same client for scripting GitLab operations without writing custom code, making the gitbeaker family the de facto typed SDK for automating GitLab from JavaScript/TypeScript.

What You Get

  • A typed client covering nearly all GitLab REST API resources (projects, MRs, pipelines, issues, groups, users, and more)
  • Cross-platform support for Node.js, browsers, Deno, and Bun from the same package
  • Built-in pagination helpers and automatic request retry/backoff via @gitbeaker/requester-utils
  • Full TypeScript types for every request parameter and response shape
  • A companion @gitbeaker/cli package for scripting GitLab operations from the command line

Common Use Cases

  • Automating GitLab project/CI configuration from a Node.js script or internal tool
  • Building custom GitLab integrations (bots, dashboards, migration scripts) with full type safety
  • Fetching merge request, pipeline, or issue data for internal reporting and analytics
  • Scripting bulk operations across many GitLab groups/projects (e.g. bulk permission changes)

Under The Hood

Architecture The gitbeaker monorepo (packages/core, packages/rest, packages/requester-utils, packages/cli) separates the typed resource definitions and request-building logic (core) from environment-specific HTTP transport (requester-utils), letting @gitbeaker/rest compose the two into a single client class exposing dozens of resource namespaces (Projects, MergeRequests, Issues, Pipelines, etc.), each implemented as a thin typed wrapper generating REST calls against GitLab’s documented endpoints.

Tech Stack Fully TypeScript, built with a monorepo toolchain (workspaces + CircleCI), releases automated via auto (intuit/auto) and semantic-release conventions, publishing separate packages per platform concern rather than one monolithic bundle.

Code Quality The project has an extensive CircleCI pipeline with Codecov-tracked coverage, 200 contributors, and heavy use of automated release tooling — a strong signal of process maturity for a single-maintainer-led project (jdalrymple holds the vast majority of commits). Prettier enforces consistent formatting across the codebase.

API Design Resource-namespaced methods (api.Projects.show(id), api.MergeRequests.all({projectId})) closely mirror GitLab’s own REST API documentation structure, which keeps the learning curve low for anyone already familiar with GitLab’s API reference, and full TypeScript types give strong autocomplete and compile-time safety for request parameters and responses.

Used by 5 apps in this directory

TypeScript
96%
Other

Amplication

AI Code Assistants · Automation · Developer Tools

16,015

Create production-ready backend services with your organization's standards baked in — generating NestJS, Prisma, and GraphQL code that you own and control.

View details
58
Repo Health
84
Technical
60
Dependency
Built with
TypeScript 96%
Updated 3 months ago
TypeScript
97%
Other

Infisical

Devops · Security

29,468

The open-source platform for secrets, certificates, privileged access, and AI agent security — all in one self-hostable system.

View details
91
Repo Health
84
Technical
65
Dependency
Built with
TypeScript 97%
Updated 4 days ago
TypeScript
65%
Other

NocoDB

Databases · Low Code Platforms · No Code Platforms

65,098

Turn any SQL database into a collaborative no-code spreadsheet with automatic REST APIs and real-time views.

View details
90
Repo Health
77
Technical
62
Dependency
Built with
TypeScript 65%
Vue 30%
Updated 6 days ago
TypeScript
97%
Other

Outline

Collaboration · Knowledge Management

40,729

A fast, real-time collaborative knowledge base for growing teams built on React, Node.js, and ProseMirror.

View details
91
Repo Health
87
Technical
68
Dependency
Built with
TypeScript 97%
Updated 5 days ago
TypeScript
97%
Other

Sourcebot

AI Code Assistants · Developer Tools · Search

3,952

A self-hosted, AI-powered code search engine that indexes every repo across GitHub, GitLab, Bitbucket, Gitea, Gerrit, and Azure DevOps, so both engineers and coding agents can search, browse, and ask questions about your codebase from one place.

View details
85
Repo Health
83
Technical
62
Dependency
Built with
TypeScript 97%
Updated 1 weeks ago

Join founders buildingwith open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on Substack
Join 750+ subscribers