Socket
Book a DemoInstallSign in
Socket

@axosoft/glo-sdk

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@axosoft/glo-sdk

JavaScript SDK for GitKraken Glo APIs

latest
Source
npmnpm
Version
2.0.0
Version published
Weekly downloads
4
-73.33%
Maintainers
2
Weekly downloads
 
Created
Source

GitKraken Glo JavaScript SDK

Build Status

GitKraken Glo API documentation

How to Use

Install

npm:

npm install -S @axosoft/glo-sdk

yarn

yarn add @axosoft/glo-sdk

Example Usage

You must pass in an auth token. All method calls return a promise, so you should properly handle errors with a .catch or a try/catch block if using async/await.

// Import options
const GloSDK = require('@axosoft/glo-sdk');
import GloSDK from '@axosoft/glo-sdk';


// Usage
GloSDK(authToken).boards.getAll()
  .then(boards => console.log(boards))
  .catch(error => console.error(error));

try {
  const boards = await GloSDK(authToken).boards.getAll();
} catch (error) {
  console.log(error);
}

FAQs

Package last updated on 07 Sep 2019

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