# gitlab-api-v4

> gitlab api v4

Latest version **0.1.4** (published 2020-12-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install gitlab-api-v4
pnpm add gitlab-api-v4
yarn add gitlab-api-v4
bun add gitlab-api-v4
```

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.4 |
| Published | 2020-12-01 |
| First published | 2020-11-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Node | >=10.0.0 |
| Dependencies | 1 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | cyyjs |
| Maintainers | cyyjs |
| Keywords | gitlab, gitlab api, api v4, git |

## Links

- npm: https://www.npmjs.com/package/gitlab-api-v4
- Repository: https://github.com/cyyjs/gitlab-api-v4
- Issues: https://github.com/cyyjs/gitlab-api-v4/issues
- npm.io page: https://npm.io/package/gitlab-api-v4

## Dependencies (1)

- [node-fetch](https://npm.io/package/node-fetch.md) ^2.6.1

## Recent versions

- 0.1.4 (latest) — 2020-12-01
- 0.1.3 — 2020-12-01
- 0.1.2 — 2020-12-01
- 0.1.1 — 2020-11-30
- 0.1.0 — 2020-11-30

## README

## gitlab api v4

### Install

```
yarn add gitlab-api-v4
```
### Usage

```js
const Gitlab = require('gitlab-api-v4');

const gitlab = new Gitlab({
  api: 'https://gitlab.com/api/v4',
  privateToken: 'your private token'
});

gitlab.projects.list().then(res => {
  console.log(res)
}).catch(e => {
  console.log(e)
})
```

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