animals
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/animals package

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

Package Sidebar

Install

npm i animals

Weekly Downloads

106

Version

0.0.3

License

MIT

Last publish

Collaborators

  • hoodiebot
  • boennemann