0.2.8 • Published 4 years ago

make-words v0.2.8

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

make-words

generate random words Node.js Package Codacy Badge npm version

Installation

Use the package manager npm to install make-words.

npm i make-words

Functions

getWordByLength(length) ⇒ string

get all words thet have a specific length

Kind: global function

ParamType
lengthnumber

getRandomWord() ⇒ string

get a random word from the dataset

Kind: global function

getWord(length, letters, excludeChars, [mustHaveLetter])

get a word that has a specific length and that includes the most letters possible from the letters array

Kind: global function

ParamType
lengthnumber
lettersArray.<string>
excludeCharsArray.<string>
[mustHaveLetter]string

getWords(count, minWordLength, maxWordLength, letters, excludeChars, [mustHaveLetter])

get any number of random words that contain specific letters

Kind: global function

ParamType
countnumber
minWordLengthnumber
maxWordLengthnumber
lettersArray.<string>
excludeCharsArray.<string>
[mustHaveLetter]string

License

MIT

0.2.8

4 years ago

0.2.7

4 years ago

0.2.6

4 years ago

0.2.5

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago