# hebrew-package

> Hebrew-package is a package about, trivia, jokes, and more function that wrote in Hebrew language.

Latest version **1.2.5** (published 2022-02-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install hebrew-package
pnpm add hebrew-package
yarn add hebrew-package
bun add hebrew-package
```

## 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.2.5 |
| Published | 2022-02-27 |
| First published | 2021-06-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 31.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | onferls2019@gmail.com |
| Maintainers | adamtroy |
| Keywords | Trivia, Jokes |

## Links

- npm: https://www.npmjs.com/package/hebrew-package
- Repository: https://github.com/AdamTroya/hebrew-package
- Homepage: https://github.com/AdamTroya/hebrew-package#readme
- Issues: https://github.com/AdamTroya
- npm.io page: https://npm.io/package/hebrew-package

## Dependencies (1)

- [express](https://npm.io/package/express.md) ^4.17.1

## Recent versions

- 1.2.5 (latest) — 2022-02-27
- 1.2.4 — 2021-09-28
- 1.2.3 — 2021-09-28
- 1.2.2 — 2021-09-28
- 1.2.1 — 2021-09-27
- 1.2.0 — 2021-09-27
- 1.1.5 — 2021-09-27
- 1.1.4 — 2021-09-27
- 1.1.3 — 2021-09-27
- 1.1.2 — 2021-09-27
- 1.1.1 — 2021-09-27
- 1.1.0 — 2021-09-27
- 1.0.5 — 2021-07-23
- 1.0.4 — 2021-06-23
- 1.0.3 — 2021-06-06
- … 5 more at https://npm.io/package/hebrew-package/versions

## README

## What is this?

Hebrew-pack is a pack that built in hebrew, That's mean that all the pack function are in hebrew!

## How to use?

`Thanks to @MyCool#4453 for helping me.`

First: You have to get the package. for example:
`const hebrew = require("hebrew-package")`

Second: You have to get the function that you need. for example:
```let trivia = hebrew.trivia({difficulty: <difficulty>, amount_of_options: "<amount of options>"})```
Or
```let joke = hebrew.joke()```

## The functions
The function for now:
```
trivia,
jokes
```

## Code for example:
```
const Discord = require('discord.js');

const { Client, Intents } = require('discord.js')

const client = new Client({ intents: [Intents.FLAGS.DIRECT_MESSAGES, Intents.FLAGS.GUILDS] })

const prefix = "!";

const hebrew = require('hebrew-package');

client.on('ready', async () => {
    console.log('ready');
})

client.on('message', async message => {
    let args = message.content.slice(prefix.length).trim().split(/ +/);
    let command = args.shift().toLocaleLowerCase();

    //----------Trivia:
    if(command === 'trivia'){
        let trivia = hebrew.trivia({difficulty: "Easy", amount_of_options: "3"});
        message.channel.send(`The question:\n${trivia.question}\n\nThe options:\n${trivia.options.join('\n')}`);
    }
    //----------Jokes:
    if(command === 'jokes'){
        let jokes = hebrew.jokes();
        message.channel.send(`The joke:\n${jokes.joke}\n\n${jokes.punchline}`);
    }
})

client.login("token");
```

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