1.0.1 • Published 5 years ago

@keboola/manage-api-js-client v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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.