Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-gitlab-api

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-gitlab-api

Full NodeJS implementation of the GitLab API. Supports Promises, Async/Await.

  • 1.0.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
43
decreased by-12.24%
Maintainers
1
Weekly downloads
 
Created
Source

Dependency Status devDependency Status

node-gitlab-api

--

GitLab API Nodejs library. It wraps the HTTP v4 api library described here.

Install

# Install from npm
npm install gitlab

Usage

URL to your GitLab instance should not include /api/v4 path.

// Connection
const GitlabAPI = require('gitlab-api')({
  url:   'http://example.com', // Defaults to http://gitlab.com
  token: 'abcdefghij123456'
})
  
// Listing users
let users = await gitlab.users.all();

console.log(users);

// Listing projects
let projects = await gitlab.projects.all();

console.log(projects);

Contributors

This started off as a fork from node-gitlab but I ended up rewriting 90% of the code. Here are the original work's contributers.

License

MIT

Changelog

1.0.3 (2017-06-23)

  • Updating problems within the Milestone API

1.0.2 (2017-06-22)

  • Updating examples in readme
  • Adding dependancy badges
  • Removing unused test files

1.0.1 (2017-06-21)

  • Initial release
  • TODO: Tests, Examples

Keywords

FAQs

Package last updated on 23 Jun 2017

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc