nxt-gitlab
This is a fork of original node-gitlab repository (https://github.com/moul/node-gitlab), we add some new features and bugfixes. All our changes are submited to the original repository as pull request, but in order to speed up the process of producing a new node and meteor module we decide to host own package.
GitLab API Nodejs library. It wraps the HTTP api library described here.
Install
# Install from npm npm install nxt-gitlab
Usage
Coffee-Script
# Connection gitlab = require 'nxt-gitlab' url: 'http://example.com' token: 'abcdefghij123456' # Listing users gitlabusersall consolelog "#: , , " for user in users # Listing projects gitlabprojectsall for project in projects consolelog "#: , path: , default_branch: , private: , owner: (), date: "
Javascript
// Connectionvar gitlab = url: 'http://example.com' token: 'abcdefghij123456'; // Listing usersgitlabusersall { for var i = 0; i < userslength; i++ console; }; // Listing projectsgitlabprojectsall { for var i = 0; i < projectslength; i++ console; };
See Examples directory for more examples
Develop
Edit the Coffee-Script files in src
, then build them using cake build
.
Use cake watch
to build files continuously while developing.
Contributors
- Dave Irvine
- Glavin Wiechert
- Florian Quiblier
- Anthony Heber
- Evan Heidtmann
- luoqpolyvi
- Brian Vanderbusch
- daprahamian
Ermlab Contributors
License
MIT