Currently working with node, I have a script that requests data from an API and formats it into JSON required for dynamo. Each day generates around 23000 records which I am trying to save on my hard drive. Could someone advise me on how to save the content of a variable to a file? Previous pages I've looked at mainly focus on HTML elements with onclick events. Any assistance would be greatly appreciated.