Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

music-genres

1.0.1 • Public • Published

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

Keywords

Install

npm i music-genres

DownloadsWeekly Downloads

3

Version

1.0.1

License

ISC

Unpacked Size

6.28 kB

Total Files

3

Last publish

Collaborators

  • avatar