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

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

    3.0.0 • Public • Published

    cat-names Build Status

    Get popular cat names

    The name list is just a JSON file and can be used anywhere.

    I'm not accepting PRs for additional names.

    Install

    $ npm install cat-names
    

    Usage

    const catNames = require('cat-names');
     
    catNames.all;
    //=> ['Abby', 'Angel', …]
     
    catNames.random();
    //=> 'Max'

    API

    .all

    Type: string[]

    Top 100 cat names in alphabetical order.

    .random()

    Type: Function

    Random cat name.

    CLI

    $ npm install --global cat-names
    
    $ cat-names --help
    
      Examples
        $ cat-names
        Max
    
        $ cat-names --all
        Abby
        Angel
        …
    
      Options
        --all  Get all names instead of a random name
    

    Related

    License

    MIT © Sindre Sorhus

    Install

    npm i cat-names

    DownloadsWeekly Downloads

    2,449

    Version

    3.0.0

    License

    MIT

    Unpacked Size

    5.48 kB

    Total Files

    7

    Last publish

    Collaborators

    • avatar