ozdemirburak / full-name-generator Goto Github PK
View Code? Open in Web Editor NEWGenerate random names using data from popular names and surnames of various countries.
Home Page: https://fullnamegenerator.com
License: MIT License
Generate random names using data from popular names and surnames of various countries.
Home Page: https://fullnamegenerator.com
License: MIT License
The repository is missing Norwegian names and surnames. Follow the guide below to add them.
For names (src/names/no.ts
):
const norwegianNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default norwegianNames;
For surnames (src/surnames/no.ts
):
const norwegianSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default norwegianSurnames;
Hello!
I'm aiming to diversify the full-name-generator by including names and surnames from various countries. It would be fantastic to have more nations represented in this repository.
What needs to be done:
Countries that are already implemented:
Guidelines to adhere to:
Your contributions are invaluable. Thanks in advance.
The repository is missing Korean names and surnames. Follow the guide below to add them.
For names (src/names/ko.ts
):
const koreanNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default koreanNames;
For surnames (src/surnames/ko.ts
):
const koreanSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default koreanSurnames;
The repository is missing Finnish names and surnames. Follow the guide below to add them.
For names (src/names/fi.ts
):
const finnishNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default finnishNames;
For surnames (src/surnames/fi.ts
):
const finnishSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default finnishSurnames;
The repository is missing Russian names and surnames. Follow the guide below to add them.
For names (src/names/ru.ts
):
const russianNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default russianNames;
For surnames (src/surnames/ru.ts
):
const russianSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default russianSurnames;
The repository is missing Saudi names and surnames. Follow the guide below to add them.
For names (src/names/sa.ts
):
const saudiNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default saudiNames;
For surnames (src/surnames/sa.ts
):
const saudiSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default saudiSurnames;
The repository is missing French names and surnames. Follow the guide below to add them.
For names (src/names/fr.ts
):
const frenchNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default frenchNames;
For surnames (src/surnames/fr.ts
):
const frenchSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default frenchSurnames;
The repository is missing Polish names and surnames. Follow the guide below to add them.
For names (src/names/pl.ts
):
const polishNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default polishNames;
For surnames (src/surnames/pl.ts
):
const polishSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default polishSurnames;
The repository is missing Indian names and surnames. Follow the guide below to add them.
For names (src/names/in.ts
):
const indianNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default indianNames;
For surnames (src/surnames/in.ts
):
const indianSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default indianSurnames;
The repository is missing Vietnamese names and surnames. Follow the guide below to add them.
For names (src/names/vn.ts
):
const vietnameseNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default vietnameseNames;
For surnames (src/surnames/vn.ts
):
const vietnameseSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default vietnameseSurnames;
Currently, there are only 30 male and 30 female Chinese names sourced from the Wikipedia page under the δΈε倧ιΈεδΈδ»£εη¨εεοΌε10οΌζθ‘
section, excluding 1959εΉ΄οΌε«οΌδ»₯ε
.
However, the list requires an additional 20 male and 20 female names. Additionally, these names must be sourced from a government database (gov.cn sites).
View the current file here: https://github.com/ozdemirburak/full-name-generator/blob/main/src/names/cn.ts
For additional names, you can check the links below:
https://www.mps.gov.cn/n2254314/n6409334/c8349265/content.html
https://www.mps.gov.cn/n2254314/n6409334/c7726021/content.html
https://www.gov.cn/xinwen/2021-02/08/content_5585906.htm
https://app.mps.gov.cn/searchweb/search_new.jsp
The repository is missing Spanish names and surnames. Follow the guide below to add them.
For names (src/names/es.ts
):
const spanishNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default spanishNames;
For surnames (src/surnames/es.ts
):
const spanishSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default spanishSurnames;
The repository is missing Indonesian names and surnames. Follow the guide below to add them.
For names (src/names/id.ts
):
const indonesianNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default indonesianNames;
For surnames (src/surnames/id.ts
):
const indonesianSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default indonesianSurnames;
The repository is missing Portuguese names and surnames. Follow the guide below to add them.
For names (src/names/pt.ts
):
const portugueseNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default portugueseNames;
For surnames (src/surnames/pt.ts
):
const portugueseSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default portugueseSurnames;
The repository is missing Thai names and surnames. Follow the guide below to add them.
For names (src/names/th.ts
):
const thaiNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default thaiNames;
For surnames (src/surnames/th.ts
):
const thaiSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default thaiSurnames;
The repository is missing Hebrew names and surnames. Follow the guide below to add them.
For names (src/names/il.ts
):
const hebrewNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default hebrewNames;
For surnames (src/surnames/il.ts
):
const hebrewSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default hebrewSurnames;
The repository is missing German names and surnames. Follow the guide below to add them.
For names (src/names/de.ts
):
const germanNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default germanNames;
For surnames (src/surnames/de.ts
):
const germanSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default germanSurnames;
The repository is missing Chinese names and surnames. Follow the guide below to add them.
For names (src/names/zh-cn.ts
):
const chineseNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default chineseNames;
For surnames (src/surnames/zh-cn.ts
):
const saudiSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default chineseSurnames;
The repository is missing Japanese names and surnames. Follow the guide below to add them.
For names (src/names/jp.ts
):
const japaneseNames = {
0: [ // Male names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
],
1: [ // Female names - Add the URL of the names source here
'Name1', 'Name2', 'Name3', ...
]
}
export default japaneseNames;
For surnames (src/surnames/jp.ts
):
const japaneseSurnames = [ // Add the URL of the surnames source here
'Surname1', 'Surname2', 'Surname3', ...
];
export default japaneseSurnames;
node_modules/full-name-generator/src/index.ts:12:69 - error TS2304: Cannot find name 'Gender'.
12 const checkDataAvailability = (data: any, isoCode: string, gender?: Gender) => {
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.