How do you read & write files?

I've tried importing fs, requiring fs but this is the message ---> I cannot find any other way to read & write files, I'm trying to make a simple folder called Users, with files for each user id.
2 Replies
Walshy
Walshy11mo ago
Workers don't have a file system and do not implement the node API fs And if this is a general Node question then #off-topic
bat ✞
bat ✞OP11mo ago
I mean this, I dont know what its called. But can you not write & read files from a worker.js file? Thats annoying

Did you find this page helpful?