Fixed failed hash duplicate source breaking media association.
This commit is contained in:
47
src/tools/names.js
Normal file
47
src/tools/names.js
Normal file
@@ -0,0 +1,47 @@
|
||||
'use strict';
|
||||
|
||||
const pickRandom = require('../utils/pick-random');
|
||||
|
||||
const firstMale = [
|
||||
'John',
|
||||
'James',
|
||||
'Biggus',
|
||||
'Mick',
|
||||
];
|
||||
|
||||
const lastMale = [
|
||||
'Dickus',
|
||||
'Strong',
|
||||
'Slayer',
|
||||
'Gun',
|
||||
'Pistol',
|
||||
];
|
||||
|
||||
const firstFemale = [
|
||||
'Kimmy',
|
||||
'Summer',
|
||||
'Jessica',
|
||||
'Rose',
|
||||
'Sky',
|
||||
'Skye',
|
||||
];
|
||||
|
||||
const lastFemale = [
|
||||
'Olsen',
|
||||
'Flower',
|
||||
'Star',
|
||||
'Dior',
|
||||
];
|
||||
|
||||
const lastGeneric = [
|
||||
'Steele',
|
||||
'White',
|
||||
];
|
||||
|
||||
function init() {
|
||||
const names = Array.from({ length: 1000 }, () => `${pickRandom([...firstMale, ...firstFemale])} ${pickRandom([...lastMale, ...lastFemale, ...lastGeneric])}`);
|
||||
|
||||
console.log(names);
|
||||
}
|
||||
|
||||
init();
|
||||
Reference in New Issue
Block a user