Skip to content
On this page

Music

Module to generate music related entries.

genre

Returns a random music genre.

Returns: string

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

songName

Returns a random song name.

Returns: string

ts
faker.music.songName(): string
faker.music.songName() // => "Dancing in the Dark"
faker.music.songName() // 'White Christmas'

Released under the MIT License.