Gitlab-Tool
A (really) thin Gitlab API wrapper for node.js
Installation
npm install --save 'gitlab-tool'
Usage
const gitlab = baseUri: 'http://gitlab.example.com/api/v3' // Gitlab API uri privateToken: 'MY_PRIVATE_TOKEN' // Profile Settings -> Account -> Private Token debug: false // need some debug log? const PROJECT_ID = 42 // list all projects: https://docs.gitlab.com/ee/api/projects.html#list-all-projectsconst ASSIGNEE_ID = 93 // list all users: https://docs.gitlab.com/ee/api/users.html#list-users // Create a merge request using official API:// https://docs.gitlab.com/ee/api/merge_requests.html#create-mrgitlab