Module to generate music related entries.
Generate random music content.
For a random album name, use album().
album()
For a random artist, use artist().
artist()
For a random genre, use genre().
genre()
For a random song name, songName().
songName()
All data types may be localized.
Protected
Readonly
Returns a random album name.
faker.music.album() // '1989' Copy
faker.music.album() // '1989'
9.0.0
Returns a random artist name.
faker.music.artist() // 'The Beatles' Copy
faker.music.artist() // 'The Beatles'
Returns a random music genre.
faker.music.genre() // 'Reggae' Copy
faker.music.genre() // 'Reggae'
5.2.0
Returns a random song name.
faker.music.songName() // 'White Christmas' Copy
faker.music.songName() // 'White Christmas'
7.1.0
Module to generate music related entries.
Overview
Generate random music content.
For a random album name, use
album()
.For a random artist, use
artist()
.For a random genre, use
genre()
.For a random song name,
songName()
.All data types may be localized.