You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

gitlab-node

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitlab-node

access gitlab api by using node

1.5.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

node-gitlab

access gitlab api by using node, support v4

Install

$ npm install gitlab-node --save

Usage

  • Use private token
// url is your gitlab api path such as http://example.com/api/v4/
// token is your user private token
const gitlab = require('gitlab-node').connect(url, token);

gitlab.issues.proejcts(projectId).then(function(issues) {
  // do something
});
  • Use oauth2 token
// url is your gitlab api path such as http://example.com/api/v4/
// token is your oauth2 token
const gitlab = require('gitlab-node').connect(url, token, true);

gitlab.issues.proejcts(projectId).then(function(issues) {
  // do something
});

API

See detail

Keywords

gitlab

FAQs

Package last updated on 17 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts