greg
greg copied to clipboard
Added more words and tested for uniqueness
added a jest test to test how much of the generated ids are unique, right now it seems that it can generate 1mil UUID no problem. but when I did 10mil a few times I was shy of 100% uniqueness.
added the corpora-project to loads a lot more words.
right now I've used all the nouns in the corpora but we can load only animals/plant/pizzaToppings etc.. for more fun but less uniqueness in the ids.
I've exported a config object for the user so he can change some of it.
exports.config = { maxCount: 100, separator: "-" };
this is ten ids for example:
[ '47-liver-abundance-identified-greedily',
'57-ever-present-formality-confessed-upwardly',
'89-defenseless-publicist-owned-intensely',
'65-folic-drilling-supplied-yesterday',
'54-one-year-adoption-rushed-usefully',
'34-restrict-frequency-marked-innocently',
'4-subjective-frenchman-soothed-clearly',
'14-totalled-mayer-untidied-gently',
'73-exulting-accommodation-shopped-cautiously',
'81-pervasive-exaggeration-argued-well' ]