random-syllable
Version:
Return a semi-speakable syllable, 2 or 3 letters.
50 lines (29 loc) • 1.57 kB
Markdown
# random-syllable
> Return a semi-speakable syllable, 2 or 3 letters.
[](https://github.com/mock-end/random-syllable/blob/master/LICENSE)
[](https://travis-ci.org/mock-end/random-syllable)
[](https://coveralls.io/github/mock-end/random-syllable)
## Install
```
$ npm install --save random-syllable
```
## Usage
```js
var randomSyllable = require('random-syllable');
// API
// - randomSyllable([options]);
// options
// - length
randomSyllable();
// => fop
randomSyllable({ length: 2 });
// => ji
```
## Related
- [random-lorem](https://github.com/mock-end/random-lorem) - Return a semi-pronounceable random (nonsense) word.
- [random-title](https://github.com/mock-end/random-title) - Return a random title populated by semi-pronounceable random (nonsense) words.
- [random-sentence](https://github.com/mock-end/random-sentence) - Return a random sentence populated by semi-pronounceable random (nonsense) words.
- [random-paragraph](https://github.com/mock-end/random-paragraph) - Return a random paragraph generated from sentences populated by semi-pronounceable random (nonsense) words.
## Contributing
Pull requests and stars are highly welcome.
For bugs and feature requests, please [create an issue](https://github.com/mock-end/random-syllable/issues/new).