An open API service indexing awesome lists of open source software.

https://github.com/jamen/fake-word

Create fake words for names or tests
https://github.com/jamen/fake-word

Last synced: about 1 year ago
JSON representation

Create fake words for names or tests

Awesome Lists containing this project

README

          

# fake-word

> Create fake words for names or tests

```js
var word = require('fake-word')

word(3, 5)
// [ 'ogu', 'oza', 'ovi', 'ioy', 'agi' ]
```

## Installation

```sh
$ npm install --save fake-word
```

## Usage

### `word(length, [amount])`

Create a fake word with the given `length`. If `amount` provided, you get an array of multiple words

```js
word(3)
// 'oza'

word(3, 5)
// [ 'ogu', 'oza', 'ovi', 'ioy', 'agi' ]
```

## License

MIT © [Jamen Marz](https://git.io/jamen)

---

[![version](https://img.shields.io/npm/v/fake-word.svg?style=flat-square)][package] [![travis](https://img.shields.io/travis/fake-word/jamen.svg?style=flat-square)](https://travis-ci.org/fake-word/jamen) [![downloads/month](https://img.shields.io/npm/dm/fake-word.svg?style=flat-square)][package] [![downloads](https://img.shields.io/npm/dt/fake-word.svg?style=flat-square)][package] [![license](https://img.shields.io/npm/l/fake-word.svg?style=flat-square)][package] [![support me](https://img.shields.io/badge/support%20me-paypal-green.svg?style=flat-square)](https://www.paypal.me/jamenmarz/5usd) [![follow](https://img.shields.io/github/followers/jamen.svg?style=social&label=Follow)](https://github.com/jamen)
[package]: https://npmjs.com/package/fake-word