arabic-personal-names
A list of Arabic personal names. Useful for generating realistic user profile in tests.
Installation
npm install --save arabic-personal-names
Usage
The module is extremely easy to use:
var names = console // array with male first names, sorted alphabetically console // array with female first names, alphabetically console // array with last names, alphabetically
You can also require each array as JSON:
var male = var female = var last =
Usage with Chance.js
The most common use for this module might be to generate random Arabic names for use in project tests. One possible way to do that is to combine this module with a psuedo-random data generator, like the excellent Chance library:
var Chance = names = var chance = // You can also pass a constant seed for reproducible tests var male = // pick a random male first name firstName: chance // pick a random last name lastName: chance var female = firstName: chance lastName: chance; console// مازن قطان console// بنان حسين