Nij JS FS dołącz do pliku
const fs = require('fs');
fs.appendFileSync('message.txt', 'data to append');
Gentle Grebe
const fs = require('fs');
fs.appendFileSync('message.txt', 'data to append');