UNPKG

chance

Version:

Chance - Utility library to generate anything random

44 lines (36 loc) 621 B
# music_genre ```js // usage chance.music_genre(); ``` Return a random music genre from list below. * Alternative * Blues * Children's * Classical * Country * Dance * Disco * Electronic * Folk * Funk * Gospel * Hip-Hop * Indie * Jazz * Metal * Pop * Punk * R&B * Reggae * Rock * Techno * World > This is considered the 'general' category. All genres above can be passed in as an argument, and will return a sub-genre of that passed in genere. ```js chance.music_genre('hip-hop'); // 'Hyphy' chance.music_genre('world'); // 'Bollywood' ``` Default arg is `general` There are over 600 genres in total on the list