npm

npm’s 2019 JavaScript ecosystem survey analysis is now available!Get your copy here »

animals

0.0.3 • Public • Published

animals Build Status

Get animals

Currently 236 animals.

The list itself is just a JSON file and can be used wherever. The list is extracted from wikipedia.

Install

$ npm install --save animals

Usage

var animals = require('animals');
 
animals();
//=> fox
 
animals();
//=> panda
 
animals.words;
// ['aardvark', 'albatross', ...]

API

animals()

Returns a random animal.

animals.words

Array with all the animals.

CLI

$ npm install --global animals
$ animals --help
 
Example
  $ animals
  lion

License

Entirely based on superb by Sindre Sorhus. MIT © Stephan Bönnemann

install

npm i animals

Downloadsweekly downloads

71

version

0.0.3

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability