Open graphicore opened 8 years ago
perhaps @humphd also has some tips for doing this; he's quite successfully used it to trick Brackets into think it's running on a POSIX fs while running inside the browser.
I think this is a no-brainer. We already have an adapter for nodes fs
module. So, probably I'm just going to make that module taking the backend as an argument. https://github.com/graphicore/ufoJS/blob/master/lib/tools/io/staticNodeJS.js
:+1:
https://github.com/filerjs/filer
Uses the same API as node.js
fs