wwf-animals

An Array of Endangered Animals

Usage no npm install needed!

<script type="module">
  import wwfAnimals from 'https://cdn.skypack.dev/wwf-animals';
</script>

README

wwf-animals

It's an array of endangered species as listed by worldwildlife.org

Installation

npm install wwf-animals

Usage

import * as endangered_animals from "wwf-animals";

console.log(endangered_animals);

I use it in conjunction with rgbkrk/adjectives to create a near infinite list of random names.

Example Output

[
    {name: "African Elephant", scientific: "Loxodonta africana", status: "Vulnerable"},
    {name: "Bengal Tiger", scientific: "Panthera tigris tigris", status: "Endangered"},
    {name: "Orangutan", scientific: "Pongo abelii, Pongo pygmaeus", status: "Critically Endangered"},
    // ...
]

Project maintenance

Running py update.py will update index.js with a fresh list of endangered animals. Running ./deploy.sh will commit, push and publish