JSPM

hebrew-names

1.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q18701F
  • License MIT

Random Hebrew name generator

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-names

Usage

  • Ethnicity [optional]: jew, muslim, christian, druze or other

  • Gender [optional]: male or female

  • Generate 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