Wondering what’s next for npm?Check out our public roadmap! »

    wikidata-person-names
    TypeScript icon, indicating that this package has built-in type declarations

    1.1.0 • Public • Published

    wikidata-person-names

    NPM Version node Dependency Status Dev Dependency Status

    Set of given and last names pulled from Wikidata

    When using random names I needed a list of names. Wikidata has a lot of them so I pulled them from there. As names don't change that often and are rather static this repo is a snapshot from Wikidata.

    Maintainer Hint: Updating the the file will query different names than before as LIMIT in the SparQL query is non deterministic.

    Install

    $ npm install wikidata-person-names
    

    Usage

    const {UNISEX, MALE, FEMALE, FAMILY} = require('wikidata-person-names');
    
    UNISEX;
    //=> ['Akira', 'Alba', 'Jody', 'Marie', 'Sacha', …]
    
    FAMILY;
    //=> ['Hein', 'Ling', 'Owen', …]
    
    randomItem(UNISEX)
    //=> 'Jule'

    Install

    npm i wikidata-person-names

    DownloadsWeekly Downloads

    46

    Version

    1.1.0

    License

    MIT

    Unpacked Size

    187 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar