@ciro.spaciari/word.generator

1.0.4 • Public • Published

word.generator

All words are provided by https://raw.githubusercontent.com/dwyl/english-words.

Support me for future versions:

BMC

PAGSEGURO

To install:

npm install @ciro.spaciari/word.generator

Example of use:

const WordGenerator = require("@ciro.spaciari/word.generator");
//quantity of words and min length of each word as parameters
console.log(WordGenerator.generate(12, 3));

Will always return a object with the words quantity and a sha256 hash for unique check if needed

{ words: [ 'antimethodical',
           'assemblagist',
           'coincorporate',
           'disomatous',
           'limean',
           'moralness',
           'paleopicrite',
           'steamie',
           'streamlining',
           'telethermogram',
           'tophetic',
           'wadna' ],
  hash: 'd62c91ae19411cee609b8ea0f9783a370769b968362bbd84e4f661c8252c316e' }

Package Sidebar

Install

npm i @ciro.spaciari/word.generator

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

4.61 MB

Total Files

5

Last publish

Collaborators

  • ciro.spaciari