Last week I got a task to implement some logic that retrieves data from a certain URL, the first request brought me a filename and with that, I could make a second request to another URL passing that filename to retrieve the file itself.
In this article, we will explore two main requirements of the task: read .xlsx file and export the data inside the file, not the file itself.
The application structure is very simple, we only need to use the npm command to generate the project and start coding, we will look at the libraries used more ahead.
$ mkdir reading-and-writing-project
$ cd reading-and-writing-project
$ npm init -y
$ mkdir src (folder to hold our source code)
$ cd src && touch index.js …
About