Comments (2)
I also have a problem that seems to be similar. I use as seed ID's from html elements. However, it happens that different seeds lead to the same names.
like: id__square-red-ocelot
seed: w-node-aaa2dd9a-d07e-f025-8e3a-d68f7302a969-7302a968
uniqueName: id__silly-emerald-shrimp
----------------------------
seed: w-node-aaa2dd9a-d07e-f025-8e3a-d68f7302a96b-7302a968
uniqueName: id__ethnic-gold-caribou
----------------------------
seed: w-node-aaa2dd9a-d07e-f025-8e3a-d68f7302a970-7302a968
uniqueName: id__hot-tan-blackbird
----------------------------
seed: w-node-_1eb647e8-2264-3644-e5c7-c6b89ffc5d1b-9ffc5d1a
uniqueName: id__wittering-turquoise-turkey
----------------------------
seed: w-node-_1eb647e8-2264-3644-e5c7-c6b89ffc5d1d-9ffc5d1a
uniqueName: id__selfish-tan-sole
----------------------------
seed: w-node-_1eb647e8-2264-3644-e5c7-c6b89ffc5d1f-9ffc5d1a
uniqueName: id__extraordinary-beige-moth
----------------------------
seed: w-node-_1eb647e8-2264-3644-e5c7-c6b89ffc5d26-9ffc5d1a
uniqueName: id__cheap-copper-silverfish
----------------------------
seed: w-node-_9fe443dc-e2f2-401c-e8da-697ef6821c29-f6821c28
uniqueName: id__high-orange-sturgeon
----------------------------
seed: w-node-_9fe443dc-e2f2-401c-e8da-697ef6821c2b-f6821c28
uniqueName: id__interim-teal-cuckoo
----------------------------
seed: w-node-_9fe443dc-e2f2-401c-e8da-697ef6821c2d-f6821c28
uniqueName: id__fashionable-green-hoverfly
----------------------------
>> seed: w-node-_9fe443dc-e2f2-401c-e8da-697ef6821c34-f6821c28
>> uniqueName: id__square-red-ocelot
----------------------------
seed: w-node-_17b33b5a-7885-2683-d59b-db6f5cf1c829-5cf1c828
uniqueName: id__yearling-lavender-toucan
----------------------------
>> seed: w-node-_17b33b5a-7885-2683-d59b-db6f5cf1c82b-5cf1c828
>> uniqueName: id__square-red-ocelot
----------------------------
seed: w-node-_17b33b5a-7885-2683-d59b-db6f5cf1c832-5cf1c828
uniqueName: id__skinny-sapphire-pheasant
----------------------------
seed: w-node-e3589836-a859-3f95-bfd0-ed7b002df5a6-002df5a5
uniqueName: id__spicy-red-mole
----------------------------
seed: w-node-e3589836-a859-3f95-bfd0-ed7b002df5ad-002df5a5
uniqueName: id__likely-copper-manatee
----------------------------
seed: w-node-e3589836-a859-3f95-bfd0-ed7b002df5af-002df5a5
uniqueName: id__detailed-gray-hedgehog
----------------------------
seed: w-node-e3589836-a859-3f95-bfd0-ed7b002df5b2-002df5a5
uniqueName: id__fast-coral-rook
----------------------------
seed: w-node-e3589836-a859-3f95-bfd0-ed7b002df5b5-002df5a5
uniqueName: id__spicy-red-mole
----------------------------
seed: w-node-e3589836-a859-3f95-bfd0-ed7b002df5b8-002df5a5
uniqueName: id__nosy-violet-antelope
----------------------------
seed: w-node-f3f6141e-0b56-d993-c70f-ef7317377454-17377453
uniqueName: id__immediate-amethyst-mammal
----------------------------
seed: w-node-f3f6141e-0b56-d993-c70f-ef731737745b-17377453
uniqueName: id__rainy-azure-scorpion
----------------------------
seed: w-node-bdfbe371-20ef-f282-4550-e9b9c955c474-c955c473
uniqueName: id__unable-blush-quokka
----------------------------
seed: w-node-bdfbe371-20ef-f282-4550-e9b9c955c47b-c955c473
uniqueName: id__efficient-coral-chickadee
----------------------------
seed: w-node-bdfbe371-20ef-f282-4550-e9b9c955c47d-c955c473
uniqueName: id__electronic-maroon-crocodile
----------------------------
seed: w-node-bdfbe371-20ef-f282-4550-e9b9c955c499-c955c473
uniqueName: id__skinny-plum-xerinae
----------------------------
seed: w-node-bdfbe371-20ef-f282-4550-e9b9c955c49b-c955c473
uniqueName: id__electronic-maroon-crocodile
----------------------------
Code for generation:
const randomName =
"id__" +
uniqueNamesGenerator({
dictionaries: [adjectives, colors, animals],
separator: "-",
length: 3,
seed: divID,
});
from unique-names-generator.
Related Issues (20)
- Feature Proposal HOT 7
- seeding the generator HOT 11
- Crashes when using Create-React-App HOT 6
- An in-range update of @typescript-eslint/parser is breaking the build 🚨 HOT 17
- An in-range update of @typescript-eslint/eslint-plugin is breaking the build 🚨 HOT 17
- dictionary of numbers HOT 3
- What about i18n ? HOT 3
- How to disclude "Ethnic" adjectives? HOT 1
- removing the colors from adjactives
- How is uniqueness ensured? HOT 6
- Names not defaulting to lowerCase, or respecting `type` option HOT 1
- too long of a seed yields bad result
- Low number of combinations when using user-provided seed
- Min and max length HOT 3
- Option to get words of word length in defined range like NumberDictionary
- Name words are in dictionary order only. HOT 1
- Numbers Dictionary does not respect seed HOT 1
- Add a link to an online generator demo for mock-ups HOT 1
- Please remove `sexual` from adjectives dict HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unique-names-generator.