gitlab-api-v4
TypeScript icon, indicating that this package has built-in type declarations

0.1.4 • Public • Published

gitlab api v4

Install

yarn add gitlab-api-v4

Usage

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

Package Sidebar

Install

npm i gitlab-api-v4

Weekly Downloads

6

Version

0.1.4

License

MIT

Unpacked Size

4.91 kB

Total Files

8

Last publish

Collaborators

  • cyyjs