play-animal-sounds

Play animal sounds

Usage no npm install needed!

<script type="module">
  import playAnimalSounds from 'https://cdn.skypack.dev/play-animal-sounds';
</script>

README

play-animal-sounds Build Status

Play animal sounds

Install

$ npm install --save play-animal-sounds

On Debian/Ubuntu, the ALSA backend is used by default, so be sure to have the alsa.h header file in place:

$ sudo apt-get install libasound2-dev

Usage

var playAnimalSounds = require('play-animal-sounds');

playAnimalSounds();
//=> *animal sound*

playAnimalSounds('cat');
//=> *meow*

CLI

$ npm install --global play-animal-sounds
$ play-animal-sounds --help

  Examples
    $ play-animal-sounds
    *animal sound*

    $ play-animal-sounds cat
    *meow*

License

MIT © Kevin Mårtensson