1.3.0 • Published 7 years ago
gitlab-api-wrapper v1.3.0
gitlab-api-wrapper
The most comprehensive GitLab API, almost covers all GitLab API endpoints. Also, we provide an isomorphic API which can be used in both browser and Node.js environments.
Install
yarn add gitlab-api-wrapper
Usage
const GitlabApis = require('gitlab-api-wrapper');
const client = GitlabApis({
// the GitLab url
base_url: 'http://gitlab.alibaba-inc.com',
private_token: '',
timeout: 3000,
});
// return a promise object
const ret = client.projects.list({search: 'xx'});