# coffeehouse

> Official CoffeeHouse API Wrapper for Javascript

Latest version **2.0.0** (published 2021-03-01) · GPL-3.0-or-later license · 0 weekly downloads

## Install

```sh
npm install coffeehouse
pnpm add coffeehouse
yarn add coffeehouse
bun add coffeehouse
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2021-03-01 |
| First published | 2020-11-30 |
| Weekly downloads | 0 |
| License | GPL-3.0-or-later |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 38.2 KB |
| Known vulnerabilities | 0 (+23 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Yusuf Usta |
| Maintainers | quiec |
| Keywords | coffeehouse, api |

## Links

- npm: https://www.npmjs.com/package/coffeehouse
- Repository: https://github.com/intellivoid/CoffeeHouse-JavaScript-API-Wrapper
- Homepage: https://github.com/intellivoid/CoffeeHouse-JavaScript-API-Wrapper#readme
- Issues: https://github.com/intellivoid/CoffeeHouse-JavaScript-API-Wrapper/issues
- npm.io page: https://npm.io/package/coffeehouse

## Dependencies (1)

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

## Recent versions

- 2.0.0 (latest) — 2021-03-01
- 1.0.1 — 2020-11-30
- 1.0.0 — 2020-11-30

## README

# CoffeeHouse API Wrapper for JavaScript

This is a very simple API Wrapper for the CoffeeHouse API. Using
This Library only supports the V1IVA2.0 CoffeeHouse API which is based from
this [Documentation](https://gist.github.com/Netkas/e8977b26f482ca40911a949df7dd286f)

## Installation

```sh
npm i coffeehouse
```

## Lydia Example

```js
const { LydiaAI } = require("./index");

async function speak(apikey, text) {
  const api = new LydiaAI(apikey);
  const session = await api.createSession();
  console.log("Session ID: " + session.id);
  session.think_thought(text).then((data) => console.log(data.output));
}

speak("Your API Key", "Merhaba Dünya");
```

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