thai-names
Get random Thai names
Installation
// npm
npm install starwars-names
// Bower
// src/firstnames.json
Usage for npm
var names = ;var allNames = namesall;var randomName = names;var threeRandomNames = names; // Example result/*[ { name: 'Aileen', meaning: { en: '', th: 'อเมริกัน แปลว่า แสงสว่าง' } }, ...]*/
API
- Random
- All
- Filter by alphabet, keyword, multi-keywords
Future update
- Separate meaning by pipe (
|
) - Demo page
- Add script to alphabetical order and export to
json
format - Add script to check duplication
- Add submit page (user can submit new name) using Firebase to store it
- More name
- Add surname
- Add "very" Thai names
- Combine firstname and surname
Contribute
- Fork the repo
- Install Node.js and dependencies
- Make a branch for your change and make your changes
- Run
git add -A
to add your changes - Run
npm run commit
(don not usegit commit
) - Push your changes with
git push
then create Pull Request
Contribute for owner
$ npm install -g semantic-release-cli
$ semantic-release-cli setup
Using above command to setup "semantic-release"
Reference
- Thai names, credit from รวบรวมชื่อคนที่สะกดได้ทั้งภาษาไทยและภาษาต่างประเทศ และความหมายของชื่อค่ะ by Almond Hambert Jr@22012017-1014
- Great guide - How to Write an Open Source JavaScript Library