1.0.1 • Published 5 years ago

music-genres v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

Music Genres

A random music genre generator. Includes more than 220 subgenres spanning 13 different genres.

Install

npm i music-genres

Example

const musicGenres = require("music-genres");

musicGenres.getAllGenres();
// Returns all genres - an object holding genres

musicGenres.getRandomGenre();
// Returns random genre - an array holding subgenres

musicGenres.getRandomSubgenre();
// Returns random subgenre - a string