Names not defaulting to lowerCase, or respecting `type` option
JakeRowsell89 opened this issue · 1 comments
JakeRowsell89 commented
This snippet returns names capitalised, but colors and animals lowerCase:
const {
uniqueNamesGenerator,
colors,
animals,
names,
} = require("unique-names-generator");
const folderName = uniqueNamesGenerator({
dictionaries: [colors, animals, names],
separator: "-",
type: "lowerCase",
});
console.log(folderName);
Using version 4.4.0
andreasonny83 commented
@JakeRowsell89 there is no type: "lowerCase",
available in the configuration.
Instead you should use: style: "lowerCase"