Answers for "save in json file js"

1

save in json file js

var fs = require('fs');
fs.writeFile("test.txt", jsonData, function(err) {
    if (err) {
        console.log(err);
    }
});
Posted by: Guest on June-20-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language