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.
No description
2 Replies
Walshy
Walshy4w 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
batOP4w ago
I mean this, I dont know what its called. But can you not write & read files from a worker.js file? Thats annoying
No description

Did you find this page helpful?