Skip to content

sambatlim/khmer-name-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Khmer Name Generator

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).

Getting Started

Prerequisites

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

Installing and usage

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()

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Reference

About

generate real khmer(Cambodia) name and khmer province including lat long

Resources

License

Stars

Watchers

Forks

Packages

No packages published