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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    126
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    126
  • 0.0.2
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i animals

Weekly Downloads

127

Version

0.0.3

License

MIT

Last publish

Collaborators

  • hoodiebot
  • boennemann