@gitbeaker/rest

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

SDK
npm
v43.8.0
1,731stars
MIT License

Repository Health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
65/100Good
Development Activity48
Maintenance44
Community68
Maturity60
Momentum40

Technical Analysis

AI-assessed by reading the actual repository — architecture, code quality, innovation, and documentation.How we score it →
75/100Good
Architecture78
Code Quality80
Innovation68
Learning Curve75

@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

Developer Tools · AI Code Assistants · Automation

16,010

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
61
Repo Health
84
Technical
60
Dependency
Built with
TypeScript96%
Updated 1 months ago
TypeScript
97%
Other

Infisical

Security · Devops

28,838

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
66
Dependency
Built with
TypeScript97%
Updated today
TypeScript
64%
Other

NocoDB

No Code Platforms · Databases · Low Code Platforms

64,586

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

View details
91
Repo Health
77
Technical
64
Dependency
Built with
TypeScript64%
Vue31%
Updated today
TypeScript
97%
Other

Outline

Knowledge Management · Collaboration

40,236

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

View details
91
Repo Health
87
Technical
69
Dependency
Built with
TypeScript97%
Updated yesterday
TypeScript
98%
Other

Sourcebot

Search · Developer Tools · AI Code Assistants

3,892

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
86
Repo Health
83
Technical
67
Dependency
Built with
TypeScript98%
Updated today

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

Search