0.0.6 • Published 2 years ago

@cong-fu/js-client v0.0.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Cong-fu JavaScript

This is the JavaScript library to use Cong-fu.

Installation

How to use

First you need to initialize the client

const client = new KungFingClient({
    baseUrl: 'my-uri-to-the-api'
});

Then a login is necessary in order to get the access token

await client.login('amitai', '12345');

Afterawards the client can be used

const myValue = await client.getValue('a*', { d: 'null' });