# @cong-fu/js-client

> This is the JavaScript library to use Cong-fu.

Latest version **0.0.6** (published 2021-12-06) · ISC license · 0 weekly downloads

## Install

```sh
npm install @cong-fu/js-client
pnpm add @cong-fu/js-client
yarn add @cong-fu/js-client
bun add @cong-fu/js-client
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.6 |
| Published | 2021-12-06 |
| First published | 2021-12-06 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 11.3 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| Author | Amitai Mazliah |
| Maintainers | amitaimazliah |

## Links

- npm: https://www.npmjs.com/package/@cong-fu/js-client
- Repository: https://github.com/cong-fu/cong-fu
- Homepage: https://github.com/cong-fu/cong-fu#readme
- Issues: https://github.com/cong-fu/cong-fu/issues
- npm.io page: https://npm.io/package/@cong-fu/js-client

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^0.24.0

## Recent versions

- 0.0.6 (latest) — 2021-12-06

## 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' });
```

---
_Source: https://npm.io/package/@cong-fu/js-client · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
