Skip to content
On this page

Music

Module to generate music related entries.

genre

Returns a random music genre.

Available since v5.2.0

Returns: string

ts
faker.music.genre(): string
faker.music.genre() // => "Soul"
faker.music.genre() // 'Reggae'

songName

Returns a random song name.

Available since v7.1.0

Returns: string

ts
faker.music.songName(): string
faker.music.songName() // => "Somethin' Stupid"
faker.music.songName() // 'White Christmas'

Released under the MIT License.