namor.js icon indicating copy to clipboard operation
namor.js copied to clipboard

Provide a custom dictionary to generate names

Open cminardi opened this issue 4 years ago • 1 comments

Hi! I'm looking into how to use your library, but I would need to provide a predefined set of nouns and adjectives to generate the names. It looks like the .rawData property allows me to read the default dictionary, but not to set it. If this is correct and I'm not missing anything, would you be open for implementing support for this, or would you allow a PR? Thanks!

cminardi avatar Sep 15 '21 15:09 cminardi

Hi, you are not missing anything. A custom dictionary isn't currently supported. But I'd be open to a PR for it :)

jsonmaur avatar Sep 15 '21 18:09 jsonmaur