I\'ve searched all over stackoverflow / google for this, but can\'t seem to figure it out.
I\'m scraping social media links of a given URL page, and the function re
Just incase anyone else stumbles across this, I use the fs-extra library in node and write javascript objects to a file like this:
const fse = require('fs-extra'); fse.outputJsonSync('path/to/output/file.json', objectToWriteToFile);