What is @gitbeaker/node?
@gitbeaker/node is a Node.js library that provides a comprehensive interface for interacting with the GitLab API. It allows developers to automate and manage various aspects of GitLab, such as projects, issues, users, and more, through a simple and consistent API.
What are @gitbeaker/node's main functionalities?
Project Management
This feature allows you to manage projects within GitLab. 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 manage issues within GitLab. The code sample demonstrates how to create a new issue in a specific project using the GitLab API.
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 GitLab. 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 within GitLab. The code sample demonstrates how to list all files in a repository using the GitLab API.
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/node
node-gitlab
node-gitlab is another Node.js library for interacting with the GitLab API. It provides similar functionalities to @gitbeaker/node but may have a different API design and feature set.
gitlab
gitlab is a JavaScript library for interacting with the GitLab API. It offers a wide range of functionalities similar to @gitbeaker/node but may have different usage patterns and API coverage.
node-gitlab-api
node-gitlab-api is a Node.js wrapper for the GitLab API. It provides functionalities for managing projects, issues, users, and more, similar to @gitbeaker/node, but with its own API design and implementation.
35.2.0 (Sat Feb 05 2022)
:tada: This release contains work from new contributors! :tada:
Thanks for all your work!
:heart: Carsten Moberg Hammer (@moberghammer)
:heart: null@pataar
š Bug Fix
ā ļø Pushed to master
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/playwright-1.17.1' (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/typescript-4.5.4' (@jdalrymple)
- Bump typescript from 4.5.2 to 4.5.4 (@dependabot[bot])
- Bump playwright from 1.17.0 to 1.17.1 (@dependabot[bot])
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/rollup-2.61.1' (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/qs-6.10.2' (@jdalrymple)
- Bump rollup from 2.60.2 to 2.61.1 (@dependabot[bot])
- Bump qs from 6.10.1 to 6.10.2 (@dependabot[bot])
@gitbeaker/node
- Downgrade got until ESM ready (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/got-12.0.0' (@jdalrymple)
- Bump got from 11.8.3 to 12.0.0 (@dependabot[bot])
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/packages/node/types/node-17.0.0' (@jdalrymple)
- Bump @types/node from 16.11.14 to 17.0.0 in /packages/node (@dependabot[bot])
@gitbeaker/requester-utils
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/packages/requester-utils/types/node-17.0.0' (@jdalrymple)
- Bump @types/node from 16.11.14 to 17.0.0 in /packages/requester-utils (@dependabot[bot])
š© Dependency Updates
- Bump follow-redirects from 1.14.5 to 1.14.7 #2323 (@dependabot[bot])
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/packages/node/got-12.0.0' #2275 (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/rollup/plugin-node-resolve-13.1.1' #2285 (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/jest-27.4.5' #2287 (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/auto-it/first-time-contributor-10.32.5' #2286 (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/auto-10.32.5' #2288 (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/prettier-2.5.1' #2261 (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/auto-it/released-10.32.5' #2273 (@jdalrymple)
- Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/auto-it/all-contributors-10.32.5' #2271 (@jdalrymple)
- Bump ts-jest from 27.0.7 to 27.1.2 #2284 (@dependabot[bot])
- Bump jest from 27.4.2 to 27.4.3 #2257 (@dependabot[bot])
@gitbeaker/core
@gitbeaker/browser
š Documentation
Authors: 4