node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

play-animal-sounds

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