gitlab-api-wrapper

1.3.0 • Public • Published

gitlab-api-wrapper

npm-version npm-downloads


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'});

Readme

Keywords

Package Sidebar

Install

npm i gitlab-api-wrapper

Weekly Downloads

1

Version

1.3.0

License

MIT

Last publish

Collaborators

  • elquimista