Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@keboola/manage-api-js-client

keboola2MIT1.0.1

Javascript client for Keboola Management API

readme

Javascript client for Keboola Management API

Build Status Maintainability

Javascript client for Keboola Connection Management API.

Installation

  1. Install npm package: yarn add @keboola/manage-api-js-client

Usage

You can use ES6 imports (import ManageApi from '@keboola/manage-api-js-client';) or require (const ManageApi = require('@keboola/manage-api-js-client').default;).

const ManageApi = require('@keboola/manage-api-js-client').default;
const manageApi = new ManageApi('https://connection.keboola.com', 'TOKEN');

Tests and development

You need to set some env variables for the tests:

  • KBC_URL
  • KBC_TOKEN - a master token Tests can be run using yarn test.

The repository requires conforming to a set of coding standards based on AirBnB code standard. You can run the check using yarn lint.

Deployment

Deployment to NPM compiles the code from src directory to dist directory.