A JavaScript library for reading and writing to files?

Looking for a simple library here that simply reads and writes to the file
system

So you import a JSON file

Then you change it and the changes are automatically written to the file
system

It would be possible to write a simple library to do this, perhaps using a
JS Proxy [1], but I wonder if anything exists already?

[1]
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy

Received on Thursday, 23 September 2021 14:12:46 UTC