# random-desserts

> Generate random dessert names

Latest version **0.2.2** (published 2020-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install random-desserts
pnpm add random-desserts
yarn add random-desserts
bun add random-desserts
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2020-10-24 |
| First published | 2020-08-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Nick Martin |
| Maintainers | n1ckdm |
| Keywords | random, desserts |

## Links

- npm: https://www.npmjs.com/package/random-desserts
- Repository: https://github.com/n1ckdm/random-deserts
- Homepage: https://github.com/n1ckdm/random-desserts#readme
- Issues: https://github.com/n1ckdm/random-desserts/issues
- npm.io page: https://npm.io/package/random-desserts

## Dependencies (1)

- [seedrandom](https://npm.io/package/seedrandom.md) ^3.0.5

## Recent versions

- 0.2.2 (latest) — 2020-10-24
- 0.2.1 — 2020-10-24
- 0.1.6 — 2020-08-29
- 0.1.5 — 2020-08-28
- 0.1.4 — 2020-08-28
- 0.1.3 — 2020-08-28
- 0.1.2 — 2020-08-28
- 0.1.1 — 2020-08-28
- 0.1.0 — 2020-08-28
- 0.0.1 — 2020-08-28

## README

# Random Desserts 🍨

[![Build Status](https://travis-ci.org/n1ckdm/random-desserts.svg?branch=master)](https://travis-ci.org/n1ckdm/random-desserts)

Generate the names of random desserts 🦄.

## Install

```bash
npm install random-desserts
```

## Usage

### React

```bash
import React from 'react';
import { 
  getRandomDessertsName,
  getRandomDessert,
  roll
} from 'random-desserts'

function App() {
  return (
    <div>
      <p>{getRandomDessertsName()}</p>
      <p>or</p>
      <p>{getRandomDessert()}</p>
      <p>or</p>
      <p>{roll()}</p>
    </div>
  );
}

export default App;
```

### Node.js

```javascript
const rd = require('random-desserts');
console.log(`One random dessert: ${rd.getRandomDessertsName()}`);
console.log(`and another: ${rd.getRandomDessert()}`);
console.log(`or we could get one like this: ${rd.roll()}`);
console.log(`hell, let's just grab three different ones: ${rd.rollThree()}`);
console.log(`I'm still hungry, give me 20: ${rd.rollN(20)}`);
```

## Development

Test

```bash
npm run test
```

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