Package Exports
- hebrew-names
- hebrew-names/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hebrew-names) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
hebrew-names
Random Hebrew name generator
Usage
This module is available on npm:
npm install hebrew-namesUsage
Ethnicity[optional]: jew, muslim, christian, druze or otherGender[optional]: male or femaleGenerate random first names:
>>> const { getFirstName } = require('hebrew-names'); >>> getFirstName('jew', 'female'); 'יעל'
Generate random last names:
>>> const { getLastName } = require('hebrew-names'); >>> getLastName('jew'); 'גלברד'
Generate random full names:
>>> const { getFullName } = require('hebrew-names'); >> getFullName('jew', 'male'); 'משה כהן'
License
This project is released under an MIT License
Data in the following files are public domain (derived from Israel's Central Bureau of Statistics 1948-2021 data):
- data/jew.male.first
- data/jew.female.first
- data/jew.last
- data/muslim.male.first
- data/muslim.female.first
- data/muslim.last
- data/christian.male.first
- data/christian.female.first
- data/christian.last
- data/druze.male.first
- data/druze.female.first
- data/druze.last
- data/other.male.first
- data/other.female.first
- data/other.last