Music
Module to generate music related entries.
Overview
Generate a random music genre with genre()
or song name with songName()
. Both may be localized.
genre
Returns a random music genre.
Available since v5.2.0
Returns: string
ts
faker.music.genre(): string
faker.music.genre() // 'Reggae'
Source
songName
Returns a random song name.
Available since v7.1.0
Returns: string
ts
faker.music.songName(): string
faker.music.songName() // 'White Christmas'