Generate pronounceable text
  • JavaScript 100%
Find a file
2016-07-04 03:33:44 -04:00
lib Don't end with a trigraph 2016-07-04 03:08:14 -04:00
spec Reduce tests 2016-07-04 01:16:12 -04:00
.gitattributes :octocat: Added .gitattributes & .gitignore files 2016-07-03 21:17:40 -04:00
.gitignore :octocat: Added .gitattributes & .gitignore files 2016-07-03 21:17:40 -04:00
LICENSE.md Add ISC license 2016-07-04 03:10:49 -04:00
package.json Link to renamed repo 2016-07-04 03:33:44 -04:00
README.md Doc and choose a diff name. 2016-07-04 03:31:16 -04:00
run.js Demo 10 entries 2016-07-04 03:31:04 -04:00

Make Word

Generates pronounceable text in English.

There has been not attempt made to prevent or remove existing words, including obscene from being generated.


let makeWord = require('make-word');

makeWord();
// otheiful

for(let i = 0; i < 10; i++) {

  makeWord(2, 10);

}
// wheiskine
// athight
// qujhogh
// gheyeegru
// uquly
// criespell
// aw
// st

Installation

$ npm install pronounceable-text-generator

API

var makeWord = require('make-word');

makeWord(min, max)

  • parameter {number} = 8 min: The minimum length of the word.
  • parameter {number} = 8 max: The maximum length of the word.
  • returns {string}: A randomly generated word that.