Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
you can simply add to the file by simply opening it with the necessary flags - https://nodejs.org/dist/latest-v12.x/docs/api/fs.h...
another question is that the file has a certain format and simply taking and adding to the end of the file it can be broken
No way. Might be worth considering adding a database to the project
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question