Skip to content

Commit

Permalink
style: Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mezotv committed Apr 23, 2023
1 parent 46bab76 commit 7f08d1a
Show file tree
Hide file tree
Showing 29 changed files with 59 additions and 9,290 deletions.
43 changes: 42 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,42 @@
# higher-or-lower-npm
# Higher or Lower

> Higher or Lower is a simple npm package build around the popular game **Higher or Lower**! HigherLower is being developed and maintained by [Dominik Development](https://github.com/Dominik-Development) and its contributors.
## Installation

Install higherlower with npm

```bash
npm install higherlower
```

Install higherlower with yarn

```bash
yarn add higherlower
```

## Code Example

```js
const HigherOrLower = require("higherlower");

console.log(HigherOrLower.random());
```

## Example output

```js
{
keyword: 'Teacher Training',
searchVolume: 22200,
author: 'yacobcuk',
link: 'http://www.istockphoto.com/photo/professor-writing-on-the-chalkboard-gm496949954-78817003',
image: 'teacher-training.jpg'
}
```

## Methods

- **`random()`**:
Get a random higher/lower dataset.
3 changes: 0 additions & 3 deletions docs/higher-or-lower/0.0.1/HigherOrLower.html

This file was deleted.

1 change: 0 additions & 1 deletion docs/higher-or-lower/0.0.1/data/search.json

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file removed docs/higher-or-lower/0.0.1/fonts/WorkSans-Bold.ttf
Binary file not shown.
Loading

0 comments on commit 7f08d1a

Please sign in to comment.