{"id":21195406,"url":"https://github.com/fallenmax/gitlab-tool","last_synced_at":"2025-12-29T18:07:00.113Z","repository":{"id":70178995,"uuid":"75075274","full_name":"FallenMax/gitlab-tool","owner":"FallenMax","description":"A (really) thin Gitlab API wrapper for node.js","archived":false,"fork":false,"pushed_at":"2017-01-24T02:18:18.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T14:15:01.642Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/gitlab-tool","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FallenMax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-29T11:33:24.000Z","updated_at":"2016-11-29T11:48:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"7add83f4-1d90-4bf0-82c2-6c1dd00881d8","html_url":"https://github.com/FallenMax/gitlab-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fgitlab-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fgitlab-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fgitlab-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FallenMax%2Fgitlab-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FallenMax","download_url":"https://codeload.github.com/FallenMax/gitlab-tool/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243652646,"owners_count":20325597,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-20T19:27:45.914Z","updated_at":"2025-12-29T18:07:00.051Z","avatar_url":"https://github.com/FallenMax.png","language":"JavaScript","readme":"# Gitlab-Tool\n\nA (really) thin [Gitlab API](https://docs.gitlab.com/ee/api/README.html) wrapper for node.js\n\n## Installation\n\n`npm install --save 'gitlab-tool'`\n\n## Usage\n\n```javascript\nconst gitlab = require('gitlab-tool')({\n  baseUri: 'http://gitlab.example.com/api/v3',  // Gitlab API uri\n  privateToken: 'MY_PRIVATE_TOKEN',  // Profile Settings -\u003e Account -\u003e Private Token\n  debug: false           // need some debug log?\n})\n\nconst PROJECT_ID = 42  // list all projects: https://docs.gitlab.com/ee/api/projects.html#list-all-projects\nconst ASSIGNEE_ID = 93  // list all users: https://docs.gitlab.com/ee/api/users.html#list-users\n\n// Create a merge request using official API:\n// https://docs.gitlab.com/ee/api/merge_requests.html#create-mr\ngitlab.post(`/projects/${PROJECT_ID}/merge_requests`, {\n    source_branch: 'my-feature',\n    target_branch: 'master',\n    assignee_id: ASSIGNEE_ID,\n    title: 'This is a merge request',\n    description: 'some description'\n  })\n  .then(result =\u003e console.log(result))\n```\n\n\n## Documentation\n\n[GitLab API](https://docs.gitlab.com/ee/api/README.html)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffallenmax%2Fgitlab-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffallenmax%2Fgitlab-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffallenmax%2Fgitlab-tool/lists"}