Class: CSV

CSV

new CSV(track)

Create CSV formatter.

Parameters:
Name Type Description
track track

A track with fetched metadata.

Source:

Members

track

A track with fetched metadata.

Source:

Methods

toString() → {string}

Track data in CSV format, with the following fields:

Spotify URI, Track Name, Artist Name, Album Name, Disc Number, Track Number, Track Duration, Added By, Added At

Source:
Returns:

Track data in CSV format.

Type
string