# ganjiang-gitlab

> ganjiang gitlab

Latest version **1.0.0** (published 2018-10-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install ganjiang-gitlab
pnpm add ganjiang-gitlab
yarn add ganjiang-gitlab
bun add ganjiang-gitlab
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2018-10-09 |
| First published | 2018-10-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.9.0 |
| Dependencies | 2 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 (+25 in 1 direct dependencies) |
| Install scripts | no |
| Author | taozhi |
| Maintainers | taozhi.tz |
| Keywords | ganjiang, gitlab |

## Links

- npm: https://www.npmjs.com/package/ganjiang-gitlab
- npm.io page: https://npm.io/package/ganjiang-gitlab

## Dependencies (2)

- [axios](https://npm.io/package/axios.md) ^0.17.1
- [debug](https://npm.io/package/debug.md) ^4.1.0

## Recent versions

- 1.0.0 (latest) — 2018-10-09

## README

# Ganjiang-GitLab

## Debug the output

set the `DEBUG = gitlab:*` by `export DEBUG = gitlab:*`, ganjiang will log out debug info 

## create gitlab client

```js
  const GitLab = require('ganjiang-gitlab')
  const gitlab = new GitLab({
    host: '127.0.0.1', // gitlab host
    token: 'xxxxx', // access token
    version: 'v3',
  })
```

## get projects 

```js
  const projects = await gitlab.getProjects()
  console.log(projects) // show the following data
```

## Run Tests

- set your `access token` in test folder `utils.js`, and run

```bash
npm test
```

---
_Source: https://npm.io/package/ganjiang-gitlab · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
