How to update JSON file using next.js

Viewed 8

I want to update json file using next.js but i don't know how. I tried FS but it returns errors such as "Fs as no function writeFile" i also tried other packages and none of them worked for me

0 Answers
Related