Skip to content

nhaouari/animals

 
 

Repository files navigation

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

About

🐮 get a random animal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%