Skip to content

gavischneider/music-genres

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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

https://www.npmjs.com/package/music-genres

Releases

No releases published

Packages

No packages published