Escreva o arquivo no sistema operacional com o NodeJS
fs.writeFileSync('./data.json', JSON.stringify(obj, null, 2) , 'utf-8');
Noorullah Ahmadzai
fs.writeFileSync('./data.json', JSON.stringify(obj, null, 2) , 'utf-8');