Socket
Socket
Sign inDemoInstall

@gitbeaker/core

Package Overview
Dependencies
3
Maintainers
1
Versions
246
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gitbeaker/core


Version published
Weekly downloads
662K
decreased by-3.98%
Maintainers
1
Install size
2.25 MB
Created
Weekly downloads
 

Package description

What is @gitbeaker/core?

@gitbeaker/core is a comprehensive Node.js library for interacting with the GitLab API. It provides a wide range of functionalities to manage projects, repositories, issues, users, and more within a GitLab instance.

What are @gitbeaker/core's main functionalities?

Project Management

This feature allows you to create and manage projects within a GitLab instance. The code sample demonstrates how to create a new project using the GitLab API.

const { Gitlab } = require('@gitbeaker/node');
const api = new Gitlab({ token: 'your_access_token' });

async function createProject() {
  const project = await api.Projects.create({ name: 'new-project' });
  console.log(project);
}

createProject();

Issue Management

This feature allows you to create and manage issues within a GitLab project. The code sample demonstrates how to create a new issue in a specific project.

const { Gitlab } = require('@gitbeaker/node');
const api = new Gitlab({ token: 'your_access_token' });

async function createIssue() {
  const issue = await api.Issues.create(1, { title: 'New Issue', description: 'Issue description' });
  console.log(issue);
}

createIssue();

User Management

This feature allows you to manage users within a GitLab instance. The code sample demonstrates how to list all users using the GitLab API.

const { Gitlab } = require('@gitbeaker/node');
const api = new Gitlab({ token: 'your_access_token' });

async function listUsers() {
  const users = await api.Users.all();
  console.log(users);
}

listUsers();

Repository Management

This feature allows you to manage repositories and their contents within a GitLab project. The code sample demonstrates how to list all files in a repository.

const { Gitlab } = require('@gitbeaker/node');
const api = new Gitlab({ token: 'your_access_token' });

async function listRepositoryFiles() {
  const files = await api.Repositories.tree(1);
  console.log(files);
}

listRepositoryFiles();

Other packages similar to @gitbeaker/core

Changelog

Source

39.26.0 (Sat Dec 09 2023)

:tada: This release contains work from a new contributor! :tada:

Thank you, Dom Harrington (@domharrington), for all your work!

🐛 Bug Fix
  • @gitbeaker/core
Authors: 2

Readme

Source


gitbeaker


pipeline status coverage report Code Climate maintainability Dependency Status Auto All Contributors Prettier Licence: MIT Install Size: Core

Core SDK for the GitLab API. This is not intended for direct use, see @gitbeaker/rest or gitbeaker/cli instead.

Table of Contents

Usage

Browsers Load @gitbeaker/core directly from esm.sh
<script type="module">
  import { Gitlab } from 'https://esm.sh/@gitbeaker/core';
</script>
Deno Load @gitbeaker/core directly from esm.sh
import { Gitlab } from 'https://esm.sh/@gitbeaker/core?dts';
Node 18+

Install with npm install @gitbeaker/core, or yarn add @gitbeaker/core

import { Gitlab } from '@gitbeaker/core';

Supported APIs

Agents 🦊 ⌨️
AlertManagement 🦊 ⌨️
ApplicationAppearance 🦊 ⌨️
ApplicationPlanLimits 🦊 ⌨️
ApplicationSettings 🦊 ⌨️
ApplicationStatistics 🦊 ⌨️
Applications 🦊 ⌨️
AuditEvents 🦊 ⌨️
Avatar 🦊 ⌨️
Branches 🦊 ⌨️
BroadcastMessages 🦊 ⌨️
CommitDiscussions 🦊 ⌨️
Code Suggestions 🦊 ⌨️
Commits 🦊 ⌨️
Composer 🦊 ⌨️
Conan 🦊 ⌨️
ContainerRegistry 🦊 ⌨️
DashboardAnnotations 🦊 ⌨️
Debian 🦊 ⌨️
DependencyProxy 🦊 ⌨️
DeployKeys 🦊 ⌨️
DeployTokens 🦊 ⌨️
Deployments 🦊 ⌨️
DockerfileTemplates 🦊 ⌨️
Environments 🦊 ⌨️
EpicAwardEmojis 🦊 ⌨️
EpicDiscussions 🦊 ⌨️
EpicIssues 🦊 ⌨️
EpicLabelEvents 🦊 ⌨️
EpicLinks 🦊 ⌨️
EpicNotes 🦊 ⌨️
Epics 🦊 ⌨️
ErrorTrackingClientKeys 🦊 ⌨️
ErrorTrackingSettings 🦊 ⌨️
Events 🦊 ⌨️
Experiments 🦊 ⌨️
ExternalStatusChecks 🦊 ⌨️
FeatureFlagUserLists 🦊 ⌨️
FeatureFlags 🦊 ⌨️
FreezePeriods 🦊 ⌨️
GeoNodes 🦊 ⌨️
GeoSites 🦊 ⌨️
GitLabCIYMLTemplates 🦊 ⌨️
GitignoreTemplates 🦊 ⌨️
GitlabPages 🦊 ⌨️
GoProxy 🦊 ⌨️
GroupAccessRequests 🦊 ⌨️
GroupAccessTokens 🦊 ⌨️
GroupActivityAnalytics 🦊 ⌨️
GroupEpicBoards 🦊 ⌨️
GroupBadges 🦊 ⌨️
GroupCustomAttributes 🦊 ⌨️
GroupDORA4Metrics 🦊 ⌨️
GroupHooks 🦊 ⌨️
GroupImportExports 🦊 ⌨️
GroupInvitations 🦊 ⌨️
GroupIssueBoards 🦊 ⌨️
GroupIterations 🦊 ⌨️
GroupLDAPLinks 🦊 ⌨️
GroupLabels 🦊 ⌨️
GroupMemberRoles 🦊 ⌨️
GroupMembers 🦊 ⌨️
GroupMilestones 🦊 ⌨️
GroupProtectedEnvironments 🦊 ⌨️
GroupPushRules 🦊 ⌨️
GroupRelationExports 🦊 ⌨️
GroupReleases 🦊 ⌨️
GroupRepositoryStorageMoves 🦊 ⌨️
GroupSAMLIdentities 🦊 ⌨️
GroupSAMLLinks 🦊 ⌨️
GroupSCIMIdentities 🦊 ⌨️
GroupServiceAccounts 🦊 ⌨️
GroupVariables 🦊 ⌨️
GroupWikis 🦊 ⌨️
Groups 🦊 ⌨️
Helm 🦊 ⌨️
Import 🦊 ⌨️
InstanceLevelCICDVariables 🦊 ⌨️
Integrations 🦊 ⌨️
IssueAwardEmojis 🦊 ⌨️
IssueDiscussions 🦊 ⌨️
IssueIterationEvents 🦊 ⌨️
IssueLabelEvents 🦊 ⌨️
IssueLinks 🦊 ⌨️
IssueMilestoneEvents 🦊 ⌨️
IssueNoteAwardEmojis 🦊 ⌨️
IssueNotes 🦊 ⌨️
IssueStateEvents 🦊 ⌨️
IssueWeightEvents 🦊 ⌨️
Issues 🦊 ⌨️
IssuesStatistics 🦊 ⌨️
JobArtifacts 🦊 ⌨️
Jobs 🦊 ⌨️
Keys 🦊 ⌨️
License 🦊 ⌨️
LicenseTemplates 🦊 ⌨️
LinkedEpics 🦊 ⌨️
Lint 🦊 ⌨️
Markdown 🦊 ⌨️
Maven 🦊 ⌨️
MergeRequestApprovals 🦊 ⌨️
MergeRequestAwardEmojis 🦊 ⌨️
MergeRequestContextCommits 🦊 ⌨️
MergeRequestDiscussions 🦊 ⌨️
MergeRequestDraftNotes 🦊 ⌨️
MergeRequestLabelEvents 🦊 ⌨️
MergeRequestMilestoneEvents 🦊 ⌨️
MergeRequestNoteAwardEmojis 🦊 ⌨️
MergeRequestNotes 🦊 ⌨️
MergeRequests 🦊 ⌨️
MergeTrains 🦊 ⌨️
Metadata 🦊 ⌨️
Migrations 🦊 ⌨️
NPM 🦊 ⌨️
Namespaces 🦊 ⌨️
NotificationSettings 🦊 ⌨️
NuGet 🦊 ⌨️
PackageRegistry 🦊 ⌨️
Packages 🦊 ⌨️
PagesDomains 🦊 ⌨️
PersonalAccessTokens 🦊 ⌨️
PipelineScheduleVariables 🦊 ⌨️
PipelineSchedules ⌨️
PipelineTriggerTokens 🦊 ⌨️
Pipelines 🦊 ⌨️
ProductAnalytics 🦊 ⌨️
ProjectAccessRequests 🦊 ⌨️
ProjectAccessTokens 🦊 ⌨️
ProjectAliases 🦊 ⌨️
ProjectBadges 🦊 ⌨️
ProjectCustomAttributes 🦊 ⌨️
ProjectDORA4Metrics 🦊 ⌨️
ProjectHooks 🦊 ⌨️
ProjectImportExports 🦊 ⌨️
ProjectInvitations 🦊 ⌨️
ProjectIssueBoards 🦊 ⌨️
ProjectIterations 🦊 ⌨️
ProjectLabels 🦊 ⌨️
ProjectMembers 🦊 ⌨️
ProjectMilestones 🦊 ⌨️
ProjectProtectedEnvironments 🦊 ⌨️
ProjectPushRules 🦊 ⌨️
ProjectRelationsExport 🦊 ⌨️
ProjectReleases 🦊 ⌨️
ProjectRemoteMirrors 🦊 ⌨️
ProjectRepositoryStorageMoves 🦊 ⌨️
ProjectSnippetAwardEmojis 🦊 ⌨️
ProjectSnippetDiscussions 🦊 ⌨️
ProjectSnippetNotes 🦊 ⌨️
ProjectSnippets 🦊 ⌨️
ProjectStatistics 🦊 ⌨️
ProjectTemplates 🦊 ⌨️
ProjectVariables 🦊 ⌨️
ProjectVulnerabilities 🦊 ⌨️
ProjectWikis 🦊 ⌨️
Projects 🦊 ⌨️
ProtectedBranches 🦊 ⌨️
ProtectedTags 🦊 ⌨️
PyPI 🦊 ⌨️
ReleaseLinks 🦊 ⌨️
Repositories 🦊 ⌨️
RepositoryFiles 🦊 ⌨️
RepositorySubmodules 🦊 ⌨️
ResourceGroups 🦊 ⌨️
RubyGems 🦊 ⌨️
Runners 🦊 ⌨️
Search 🦊 ⌨️
SearchAdmin 🦊 ⌨️
SecureFiles 🦊 ⌨️
ServiceAccounts 🦊 ⌨️
ServiceData 🦊 ⌨️
SidekiqMetrics 🦊 ⌨️
SidekiqQueues 🦊 ⌨️
SnippetRepositoryStorageMoves 🦊 ⌨️
Snippets 🦊 ⌨️
Suggestions 🦊 ⌨️
SystemHooks 🦊 ⌨️
Tags 🦊 ⌨️
TodoLists 🦊 ⌨️
Topics 🦊 ⌨️
UserCustomAttributes 🦊 ⌨️
UserEmails 🦊 ⌨️
UserGPGKeys 🦊 ⌨️
UserImpersonationTokens 🦊 ⌨️
UserSSHKeys 🦊 ⌨️
UserStarredMetricsDashboard 🦊 ⌨️
Users 🦊 ⌨️

Contributors

Justin Dalrymple Dylan DesRosier Mike Wyatt Cory Zibeill Martin Bour akira345 Pavel Birukov Joseph Petersen Louis Cherel Adam Dehnel Ev Haus Loïc Mahieu Giuseppe Angri jennparise Oscar Daniel Ruf schindld Alvaro Daniel Moore Dylan M. Taylor Corentin Mors xatavian Yevgeny Petukhov Mickaël Tricot Andrea Flavien Bridault
s-kazuki Kipras Melnikovas xieyu st1gok Max Wittig Niklas Lochschmidt Ilya Dus Omar Awamry Hennadii Varava xiezht Martin Helmich Sean McGivern Clemens Lieb Vojtěch Sajdl divido Vincent Boulaye Aliyss Snow Mahmoud Saada Feng Yu Roy Jacobs Paul Lemke Ian Jenkins nilennoct Laffargue Michael Martin Howarth Christoph Lehmann
Frank V Salim Benabbou Tamás Török-Vistai Martin Benninger fewieden Jeff Pelton Claude Abounegm Stefan Hall Jordan Wallet zhao0 Joshua Grosso Isaac Ouellet Therrien Rajat Sharma Cesar B. Igor Katsuba Michael Townsend bodtx Artem Munif Tanjim Quentin Dreyer Norm MacLennan jnovick Fabian Aussems Michael Matzka CraigAllardyce Bruno Guimarães
Lukas Eipert Maximilian Krauß Evolution Engineering WEBER Logan Anton Zhukov Nicholas Loomans Carl Kittelberger Patrik Votoček Kyrylo Fedorov Claudio Vellage Seb0uil Rafael Mello Théis Bazin Spencer Salisbury Simone Corsi Bambii Will ArnaudTA Benjamin Beret Alessandro Diez artlist-scottambrose Martin Dreher Elan Ruusamäe artemoire Pieter Willekens David Claybourne
Dom Harrington

This started as a fork from node-gitlab-legacy but I ended up rewriting much of the code. Here are the original work's contributors.

Keywords

FAQs

Last updated on 09 Dec 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc