Socket
Socket
Sign inDemoInstall

gitlab-node

Package Overview
Dependencies
16
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gitlab-node

access gitlab api by using node


Version published
Weekly downloads
2
Maintainers
1
Install size
200 kB
Created
Weekly downloads
 

Readme

Source

node-gitlab

access gitlab api by using node, support v4

Install

$ npm install gitlab-node --save

Usage

  1. 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
});
  1. 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

FAQs

Last updated on 17 Sep 2018

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc