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
- Host: GitHub
- URL: https://github.com/jamen/fake-word
- Owner: jamen
- License: mit
- Created: 2017-02-05T06:02:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T06:05:08.000Z (over 9 years ago)
- Last Synced: 2025-02-08T02:23:49.680Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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)
---
[][package] [](https://travis-ci.org/fake-word/jamen) [][package] [][package] [][package] [](https://www.paypal.me/jamenmarz/5usd) [](https://github.com/jamen)
[package]: https://npmjs.com/package/fake-word