# matchgame

> Generate Word Match game.

Latest version **1.0.0** (published 2018-06-15) · 0 weekly downloads

## Install

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

## 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-06-15 |
| First published | 2018-06-15 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 24.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Maintainers | ctrlaltdev |
| Keywords | word, match, pairing, game |

## Links

- npm: https://www.npmjs.com/package/matchgame
- Repository: https://github.com/ctrlaltdev/matchgame
- Homepage: https://github.com/ctrlaltdev/matchgame#README
- Issues: https://github.com/ctrlaltdev/matchgame/issues
- npm.io page: https://npm.io/package/matchgame

## Dependencies (1)

- [haikunator](https://npm.io/package/haikunator.md) ^2.0.0

## Recent versions

- 1.0.0 (latest) — 2018-06-15

## README

## Classes

<dl>
<dt><a href="#wordMatch">wordMatch</a></dt>
<dd></dd>
</dl>

## Functions

<dl>
<dt><a href="#isNode">isNode(o)</a> ⇒ <code>Boolean</code></dt>
<dd><p>Check if is DOM Node</p>
</dd>
<dt><a href="#isElement">isElement(o)</a> ⇒ <code>Boolean</code></dt>
<dd><p>Check if is HTMLELement</p>
</dd>
<dt><a href="#getParent">getParent(el, className)</a> ⇒ <code>HTMLElement</code></dt>
<dd><p>Get first parent to have a give className</p>
</dd>
</dl>

<a name="wordMatch"></a>

## wordMatch
**Kind**: global class
<a name="new_wordMatch_new"></a>

### new wordMatch()
Create a word match game

<a name="isNode"></a>

## isNode(o) ⇒ <code>Boolean</code>
Check if is DOM Node

**Kind**: global function
**Returns**: <code>Boolean</code> - true if is DOM Node

| Param | Type |
| --- | --- |
| o | <code>\*</code> |

<a name="isElement"></a>

## isElement(o) ⇒ <code>Boolean</code>
Check if is HTMLELement

**Kind**: global function
**Returns**: <code>Boolean</code> - true if is Element

| Param | Type |
| --- | --- |
| o | <code>\*</code> |

<a name="getParent"></a>

## getParent(el, className) ⇒ <code>HTMLElement</code>
Get first parent to have a give className

**Kind**: global function
**Returns**: <code>HTMLElement</code> - parent element having the className

| Param | Type | Description |
| --- | --- | --- |
| el | <code>HTMLElement</code> | child element |
| className | <code>String</code> | className to look for |

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