-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
59 additions
and
9,290 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.