2017-06-22 15:03:14 -04:00
2017-06-21 12:13:17 -04:00
2017-06-21 12:13:17 -04:00
2017-06-21 12:13:17 -04:00
2017-06-22 14:55:37 -04:00
2017-06-22 15:03:14 -04:00

Dependency Status devDependency Status

node-gitlab-api

--

GitLab API Nodejs library. It wraps the HTTP v4 api library described here.

Install

# Install from npm
npm install gitlab

Usage

URL to your GitLab instance should not include /api/v4 path.

// Connection
const GitlabAPI = require('gitlab-api')({
  url:   'http://example.com', // Defaults to http://gitlab.com
  token: 'abcdefghij123456'
})
  
// Listing users
let users = await gitlab.users.all();

console.log(users);

// Listing projects
let projects = await gitlab.projects.all();

console.log(projects);

Contributors

This started off as a fork from node-gitlab but I ended up rewriting 90% of the code. Here are the original work's contributers.

License

MIT

Changelog

1.0.1 (2017-06-21)

  • Initial release
  • TODO: Tests, Examples
Description
🤖 GitLab API NodeJS library with full support of all the Gitlab API services.
Readme 42 MiB
Languages
TypeScript 98.7%
JavaScript 1.1%
Shell 0.1%