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

Readme

Keywords

Package Sidebar

Install

npm i music-genres

Weekly Downloads

33

Version

1.0.1

License

ISC

Unpacked Size

6.28 kB

Total Files

3

Last publish

Collaborators

  • gavischneider