# mad-libber

> Creates a random sentence by replacing keywords - mad libs style.

Latest version **1.1.0** (published 2018-02-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install mad-libber
pnpm add mad-libber
yarn add mad-libber
bun add mad-libber
```

## 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.1.0 |
| Published | 2018-02-22 |
| First published | 2018-02-22 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | tziegel |
| Maintainers | timziegel |

## Links

- npm: https://www.npmjs.com/package/mad-libber
- npm.io page: https://npm.io/package/mad-libber

## Recent versions

- 1.1.0 (latest) — 2018-02-22
- 1.0.2 — 2018-02-22
- 1.0.1 — 2018-02-22
- 1.0.0 — 2018-02-22

## README

# mad-libber

> Creates a random sentence by replacing keywords - mad libs style.


## Install

```
$ npm install --save mad-libber
```


## Usage

```js
const madlibs = require('mad-libber');

const sentence = '${noun1} likes ${?to? verb1}. ${noun2} likes ${?to? verb2}.';
const data = {
  noun: ["Tim", "MM", "Dan"],
  verb: ["?to? party", "?to? sleep", "staring, slack-jawed, into the abyss"]
};

madlibs(sentence, data);
//=> "MM likes to party. Tim likes to sleep."
```

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