Tulis file ke sistem operasi dengan 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');