Luigi Cavalieri - Coding, Sharing, Blogging

Blog / TypeScript

  1. How to Download an Array of Data Objects as CSV File with TypeScript

    How to Download an Array of Data Objects as CSV File with TypeScript

    A requirement such as the download of data objects as CSV file is almost ubiquitous, to such an extent you might encounter it even in the practical part of a job interview. Thus knowing how to implement it is undoubtedly valuable, even more so if one knows how to implement it without resorting to a third-party library. For this reason, today I want to show you how to package an array of data objects into a CSV file with just some plain TypeScript.