# kahoot.js-republished

> A library for interacting with Kahoot API.

Latest version **1.0.0** (published 2018-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install kahoot.js-republished
pnpm add kahoot.js-republished
yarn add kahoot.js-republished
bun add kahoot.js-republished
```

## 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 | 1.0.0 |
| Published | 2018-11-20 |
| First published | 2018-11-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 6.0.0 |
| Dependencies | 4 |
| Unpacked size | 29.3 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 27 |
| Author | wwwg |
| Maintainers | ewhbgfi3rb9g2 |
| Keywords | kahoot, kahoot.js, kahoot client |

## Links

- npm: https://www.npmjs.com/package/kahoot.js-republished
- Repository: https://github.com/wwwg/kahoot.js
- Homepage: https://github.com/wwwg/kahoot.js#readme
- Issues: https://github.com/wwwg/kahoot.js/issues
- npm.io page: https://npm.io/package/kahoot.js-republished

## Dependencies (4)

- [ws](https://npm.io/package/ws.md) ^3.1.0
- [promise](https://npm.io/package/promise.md) ^8.0.1
- [bufferutil](https://npm.io/package/bufferutil.md) ^3.0.2
- [utf-8-validate](https://npm.io/package/utf-8-validate.md) ^3.0.3

## Recent versions

- 1.0.0 (latest) — 2018-11-20

## README

# About
Kahoot.js is a library to interact with the Kahoot API. Currently kahoot.js supports joining and interacting with quizzes.
**Installation requires Node.js 6.0.0 or higher.**  
![NPM](https://nodei.co/npm/kahoot.js.png)

# Basic Example
```js
var Kahoot = require("kahoot.js");
var client = new Kahoot;
console.log("Joining kahoot...");
client.join(9802345 /* Or any other kahoot game pin */, "kahoot.js");
client.on("joined", () => {
    console.log("I joined the Kahoot!");
});
client.on("quizStart", quiz => {
    console.log("The quiz has started! The quiz's name is:", quiz.name);
});
client.on("questionStart", question => {
    console.log("A new question has started, answering the first answer.");
    question.answer(0);
});
client.on("quizEnd", () => {
    console.log("The quiz has ended.");
});
```

## Documentation / How to use
See [Documentation.md](Documentation.md).

## Examples
See `examples/` and `tests/`.

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