This package is able to generate real khmer name in khmer alphabets(Unicode range: U+1780–U+17FF Khmer; U+19E0–U+19FF Khmer Symbols) and cambodia province name with city including Lat Long (update 2020).
This project require node install.
//Make sure you have node install by typing as below in your cmd:
node --version
//this will print out your node version
Install the package with your npm
npm install khmer-name-generator
import to your file
const khmerGenerator = require('khmer-name-generator')
get the generated full name
var fullName = khmerGenerator.name.getRandomName()
get the generated first name
var firstName = khmerGenerator.name.getRandomFirstname()
get the generated last name
var lastName = khmerGenerator.name.getRandomLastname()
get the khmer province with lat long
var khmerProvinceWithLatLong = khmerGenerator.provincewithlatlong.getProvinceWithLatLong()
- Sambat Lim - github profile - https://github.com/sambatlim
This project is licensed under the MIT License - see the LICENSE.md file for details