JSPM

animals

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 352
  • Score
    100M100P100Q111705F
  • License MIT

Get animals

Package Exports

  • animals

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (animals) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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
  legendary

License

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