❤Nondeterministic Programming Methodology
    Wondering what’s next for npm?Check out our public roadmap! »

    dog-breeds

    1.0.0 • Public • Published

    dog-breeds Build Status

    Get dog breeds

    A list of 514 dog breeds, including breed origin and a link to an image of the breed on Wikimedia.

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

    Install

    $ npm install dog-breeds
    

    Usage

    const dogBreeds = require('dog-breeds');
     
    dogBreeds.random();
    /*
    {
      "name": "Catahoula Leopard Dog",
      "origin": "United States",
      "imageURL": "https://upload.wikimedia.org/wikipedia/commons/7/76/Louisiana_Cataholula_Leopard_Dog_-_Coahoma_Arkansas.JPG"
    }
    */

    API

    .all

    Type: Array

    Dog breeds in alphabetical order.

    .random()

    Type: Function

    Random dog breed.

    License

    MIT © Chris Vogt

    Install

    npm i dog-breeds

    DownloadsWeekly Downloads

    173

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    87.1 kB

    Total Files

    5

    Last publish

    Collaborators

    • avatar