Naysayers Promote Misery

    pet-names

    1.0.1 • Public • Published

    pet-names Build Status

    Get popular pet names

    The name list is just a JSON file and can be used wherever. Originally from cutepetname.com

    pet name noun a name that is used instead of someone's usual first name to express fondness or familiarity.

    Not accepting PRs for additional names.

    Install

    $ npm install --save pet-names
    

    Usage

    const petNames = require('pet-names');
     
    petNames.random();
    //=> 'Snuggle Bunny'

    API

    .all

    Type: array

    ~400 pet names in alphabetical order.

    .random()

    Type: function

    Random pet name.

    CLI

    $ npm install --global pet-names
    
    $ pet-names --help
    
      Examples
        $ pet-names
        Pumpkin
    
        $ pet-names --all
        Adorable
        Alliebear
        ...
    
      Options
        --all   Get all names instead of a random name
    

    Related

    License

    MIT © Federico Brigante

    Install

    npm i pet-names

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Last publish

    Collaborators

    • fregante