@cong-fu/js-client
v0.0.6
Published
This is the JavaScript library to use Cong-fu.
Downloads
2
Readme
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' });