writeJsonToFile
Returns
Example
import lampix from '@lampix/core';
const data = {
answerToLife: 42
};
lampix.writeJsonToFile('answers.json', data)
.then(() => console.log('Successfully saved all answers.'));Notes
Last updated
Was this helpful?